Description Usage Arguments Examples
Find the sentiment score (between 0 and 1) of a word, sentence or a Document based on a trained model (using Flux) on IMDB word corpus with weights saved are used to calculate the sentiments.
1 2 3 4 5 6 7 8 9 10  | 
text | 
 An object of class   | 
1 2 3 4 5 6 7 8 9 10 11  | ## Not run: 
init_textanalysis()
# build document
doc <- string_document(
  "An awesome, great, simply brillaint, function!"
)
sentiment(doc)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.