from konlpy.tag import Twitter
twitter = Twitter()
twitter.pos('파이썬 자연어 수업 입니다')
from nltk.corpus import stopwords
stopwords.words('english')[:7]
# ! pip install ./data/wordcloud-1.5.0-cp36-cp36m-win_amd64.whl
%matplotlib inline
from wordcloud import WordCloud
wcloud = WordCloud('../data/D2Coding.ttf',
relative_scaling = 0.2,
background_color = 'white').generate('파이썬을 활용한 자연어 분석')
import matplotlib.pyplot as plt
plt.figure(figsize=(12,12))
plt.imshow(wcloud, interpolation='bilinear')
plt.axis("off")