Skip to content

Commit fe4bc09

Browse files
Update 02-sentiment-analysis.Rmd (#115)
* Update 02-sentiment-analysis.Rmd Typo. "R packages such as coreNLP..." instead of "R packages included coreNLP..." * Update typo fix * Update GH action --------- Co-authored-by: Julia Silge <[email protected]>
1 parent 2e3ce15 commit fe4bc09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/bookdown.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
env:
1717
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- uses: r-lib/actions/setup-pandoc@v2
2222

02-sentiment-analysis.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ Lots of useful work can be done by tokenizing at the word level, but sometimes i
323323

324324
> I am not having a good day.
325325
326-
is a sad sentence, not a happy one, because of negation. R packages included coreNLP [@R-coreNLP], cleanNLP [@R-cleanNLP], and sentimentr [@R-sentimentr] are examples of such sentiment analysis algorithms. For these, we may want to tokenize text into sentences, and it makes sense to use a new name for the output column in such a case.
326+
is a sad sentence, not a happy one, because of negation. R packages including coreNLP [@R-coreNLP], cleanNLP [@R-cleanNLP], and sentimentr [@R-sentimentr] are examples of such sentiment analysis algorithms. For these, we may want to tokenize text into sentences, and it makes sense to use a new name for the output column in such a case.
327327

328328
```{r PandP}
329329
p_and_p_sentences <- tibble(text = prideprejudice) %>%

0 commit comments

Comments
 (0)