본문 바로가기

Python_Intermediate/WordCloud

190506>Korea News keyword wordcloud

현재 뉴스에서 많이 사용중인 키워드 분석 시각화 모듈

WordCloud를 활용하여 시각화

190506 키워드 분석 시각화


현재 키워드>

'중국': 93, '협상': 88, '미국': 79, '관세': 75, '한국': 64, '북한': 52, '트럼프': 52, '무역': 46, '대통령': 43, '기자': 41, '사람': 34, '이번': 32, '대한': 31, '위협': 31, '서울': 31, '산업': 31, '정부': 29, '추가': 29, '정책': 28, '대표': 28, '검찰': 27, '달러': 25, '지난': 24, '발사': 24, '부과': 24, '통해': 23, '무단': 23, '배포': 23, '금지': 23, '인상': 23, '세포': 23, '상황': 22, '다른': 22, '진행': 21, '시간': 21, '규모': 21, '기술': 21, '제품': 21, '대해': 20, '때문': 20, '검사': 20, '가장': 20, '최근': 20, '기업': 20, '사비': 20, '블록': 20, '우리': 19, '정치': 19, '지난해': 19, '사실': 19, '취소': 19, '경제': 18, '결과': 18, '위해': 18, '국회': 18, '계획': 18, '경우': 18, '코오롱': 18, '운동': 18, '체인': 18, '단거리': 17, '미세먼지': 17, '과정': 17, '분석': 16, '물가': 16, '중국산': 16, '워싱턴': 16, '미사일': 15, '발사체': 15, '문제': 15, '뉴스': 15, '민주당': 15, '검토': 15

imoprt module>

from Crawler import crawler
from bs4 import BeautifulSoup
from wordcloud import WordCloud
from matplotlib import pyplot
from collections import Counter11940
from konlpy.tag import Okt
import datetime as dt