Skip to content

Commit bbb4c9f

Browse files
authored
fixed a typo
1 parent c872c07 commit bbb4c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

04-word-combinations.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ There are advantages and disadvantages to examining the tf-idf of bigrams rather
130130

131131
### Using bigrams to provide context in sentiment analysis
132132

133-
Our sentiment analysis approch in Chapter \@ref(sentiment) simply counted the appearance of positive or negative words, according to a reference lexicon. One of the problems with this approach is that a word's context can matter nearly as much as its presence. For example, the words "happy" and "like" will be counted as positive, even in a sentence like "I'm not **happy** and I don't **like** it!"
133+
Our sentiment analysis approach in Chapter \@ref(sentiment) simply counted the appearance of positive or negative words, according to a reference lexicon. One of the problems with this approach is that a word's context can matter nearly as much as its presence. For example, the words "happy" and "like" will be counted as positive, even in a sentence like "I'm not **happy** and I don't **like** it!"
134134

135135
Now that we have the data organized into bigrams, it's easy to tell how often words are preceded by a word like "not":
136136

0 commit comments

Comments
 (0)