I have a list of bigram as specified below:
test_test_bigram
1: I would
2: would like
3: like to
4: to thank
5: thank the
---
4792: design features
4793: features .
4794: . Return
4795: Return to
4796: to text
I have converted the same to a data table , i would want to create a column for frequency of each ngram (each row) . Can someone please suggest
Also, can you please throw some light on how to proceed with sentiment analysis in R in case of Ngrams, i use sentimentr for line wise sentiment analysis and sentimentanalysis for "bag-of-words" approach (single words)