text_mining_the_complete_works_of_william_shakespeare
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
text_mining_the_complete_works_of_william_shakespeare [2016/12/01 08:40] – created hkimscil | text_mining_the_complete_works_of_william_shakespeare [2024/05/30 08:18] (current) – hkimscil | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Text Mining the Complete Works of William Shakespeare ====== | ====== Text Mining the Complete Works of William Shakespeare ====== | ||
- | from [[http:// | + | from |
< | < | ||
Line 50: | Line 50: | ||
> doc.vec <- VectorSource(shakespeare) | > doc.vec <- VectorSource(shakespeare) | ||
> doc.corpus <- Corpus(doc.vec) | > doc.corpus <- Corpus(doc.vec) | ||
- | > summary(doc.corpus)</ | + | > summary(doc.corpus) |
+ | </ | ||
+ | see [[https:// | ||
+ | |||
< | < | ||
Line 150: | Line 154: | ||
</ | </ | ||
- | < | + | < |
$love | $love | ||
- | loves | + | |
- | | + | |
</ | </ | ||
Line 702: | Line 706: | ||
< | < | ||
- | Installing package into ‘D:/ | + | > |
- | (as ‘lib’ is unspecified) | + | |
- | trying URL ' | + | |
- | Content type ' | + | |
- | downloaded 455 KB | + | |
- | + | ||
- | package ‘wordcloud’ successfully unpacked and MD5 sums checked | + | |
- | + | ||
- | The downloaded binary packages are in | + | |
- | C: | + | |
> library(wordcloud) | > library(wordcloud) | ||
- | 필요한 패키지를 로딩중입니다: | ||
- | Warning message: | ||
- | 패키지 ‘wordcloud’는 R 버전 3.2.5에서 작성되었습니다 | ||
> | > | ||
- | </ | + | > library(RColorBrewer) |
- | + | ||
- | < | + | |
> palette <- brewer.pal(9," | > palette <- brewer.pal(9," | ||
> wordcloud(rownames(TDM.dense), | > wordcloud(rownames(TDM.dense), | ||
- | Warning message: | ||
- | In wordcloud(rownames(TDM.dense), | ||
- | thy could not be fit on page. It will not be plotted. | ||
> | > | ||
</ | </ |
text_mining_the_complete_works_of_william_shakespeare.1480551046.txt.gz · Last modified: 2016/12/01 08:40 by hkimscil