-
Notifications
You must be signed in to change notification settings - Fork 1
/
TidyText Answer Sheet.Rmd
58 lines (32 loc) · 3.67 KB
/
TidyText Answer Sheet.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
---
title: 'Introduction to TidyText: Answer Sheet'
author: "Kaylee Alexander, Duke University"
date: '2019-18-04'
output: html_notebook
---
**Question 1:** Which two (2) words appear most frequently in *Frankenstein*? How many times do they each appear?
<span style="color:red">**"the" (4248) & "and" (2993)**</span>
**Question 2:** Now, which two (2) words appear most frequently? How many times do they each appear?
<span style="color:red">**"life" (115) & "father" (112)**</span>
**Question 3:** How many words appear more than 50 times in *Frankenstein*?
<span style="color:red">**29**</span>
**Question 4:** What sentiment schore is assigned to "abhorrent"?
<span style="color:red">**-3**</span>
**Question 5:** What sentiments are associated with "abandon"?
<span style="color:red">**fear, negative & sadness**</span>
**Question 6:** Which three (3) words from the bing lexicon appear most frequently in *Frankenstein*? How many times do they each appear and what sentiment is associated with each one?
<span style="color:red">**"death" (negative, 80); "miserable" (negative, 65); & "love" (positive, 59) **</span>
**Question 7:** How many words associated with fear appear in *Frankenstein*? Which fear word appears most frequently?
<span style="color:red">**"death" (493)**</span>
**Question 8:** How many words associated with disgust appear in *Frankenstein*? Which disgust word appears most frequently?
<span style="color:red">**"death" (277)**</span>
**Question 9:** Which lexicon gives the final chapter of *Frankenstein* the most negative score?
<span style="color:red">**AFINN**</span>
**Question 10:** Which lexicon is shows the most positive reading of *Frankenstein*?
<span style="color:red">**NRC**</span>
**Question 11:** Which lexicon includes more negative words? How many negative words does it include
<span style="color:red">**bing (4782)**</span>
**Question 12:** Which two (2) words appear most commonly in Queen lyrics? How often are they used?
<span style="color:red">**"love" (469) & "yeah" (354)**</span>
**Question 13:** Which song received a sentiment score of twelve (12)?
<span style="color:red">**"Killer Queen"**</span>