
wordcloud 설치 !pip install wordcloud 모듈 가져오기 from urllib.request import urlopen from bs4 import BeautifulSoup from nltk import tokenize from wordcloud import WordCloud, STOPWORDS import matplotlib.pyplot as plt def generate_wdc(text): wordcloud = WordCloud(font_path = "framd.ttf", # 글씨 폰트 width = 2400, # 창 너비 heigth = 1800, # 창 높이 ranks_only = None, # 빈도, 순위에 따른 옵션 relative_scaling = 0.5, # 빈도에 따..
공부합시다/찍먹
2021. 4. 22. 23:27