http://www.pa.go.kr/research/contents/speech/index.jsp
http://www.pa.go.kr/research/contents/speech/index.jsp (이명박 대통령 취임사)
xxxxxxxxxx
text <- readLines(file.choose())
noun <- sapply(text, extractNoun, USE.NAMES=F)
noun2 <- unlist(noun)
word_count <- table(noun2)
wordcloud(names(word_count),freq=word_count,scale=c(6,0.3),min.freq=3, random.order=F,rot.per=.1,colors=pal2)
noun2 <- gsub("오늘세", "", noun2)
noun2 <- gsub("여러분", "", noun2)
noun2 <- gsub("우리", "", noun2)
noun2 <- Filter(function(x){nchar(x) >= 2}, noun2)
word_count <- table(noun2)
wordcloud(names(word_count),freq=word_count,scale=c(6,0.3),min.freq=3, random.order=F,rot.per=.1,colors=pal2)