-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path07-tidytext-mining.Rmd
65 lines (33 loc) · 1.48 KB
/
07-tidytext-mining.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Textmining with Tidy Text
## Tidy Text Format
### Slides
<embed src="slides/pdf/1_tidy-text_slides.pdf" type="application/pdf" width="100%" height="600px" />
### Exercise 7
Tidy format a text corpus.
### Exercise 8
Tidying Jane Austen's novels
### Solution
<embed src="slides/pdf/1_tidy-text_solution.pdf" type="application/pdf" width="100%" height="600px" />
## Sentiment Analysis
### Slides
<embed src="slides/pdf/2_sentiment-analysis_slides.pdf" type="application/pdf" width="100%" height="600px" />
### Exercise 9
Sentiment analysis of Austen's novels.
### Solution
<embed src="slides/pdf/2_sentiment-analysis_solution.pdf" type="application/pdf" width="100%" height="600px" />
## Word & Document Frequency
### Slides
<embed src="slides/pdf/3_word-and-document-frequency_slides.pdf" type="application/pdf" width="100%" height="600px" />
### Exercise 10
Term frequency and inverse document frequency in Austen's novels.
### Solution
<embed src="slides/pdf/3_word-and-document-frequency_solution.pdf" type="application/pdf" width="100%" height="600px" />
## Relationships Between Words
### Slides
<embed src="slides/pdf/4_relationships-between-words_slides.pdf" type="application/pdf" width="100%" height="600px" />
### Exercise 11
Tokenizing Austen's novels by n-gram.
### Exercise 12
Counting and correlating among sections: Pride and Prejudice.
### Solution
<embed src="slides/pdf/4_relationships-between-words_solution.pdf" type="application/pdf" width="100%" height="600px" />