python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to remove punctuation from tokens, when quanteda tokenizes at sentence level?
It is my ultimate goal to select some sentences from a corpus which match a certain pattern & perform a sentiment analysis upon these selected cutouts from the corpus. I am trying to do all of tha...
arndtupb
Votes: 0
Answers: 1
Quanteda: display the actual difference between texts
I managed to calculate the difference between two texts with the cosine method. With the following:
library("quanteda")
dfmat <- corpus_subset(corpusnew) %>%
tokens(remove_punc...
Gustavo Bernardino
Votes: 0
Answers: 2