SemanticBasedFeatures | R Documentation |
Computes semantic based features.
SemanticBasedFeatures(tokens, vectors, dsm)
tokens |
Token data.table containing ids for document (id), token word. |
vectors |
Polarity vectors for positive, negative, objective and subjective words. |
dsm |
word2vec object representing the Distributional Semantic Model. |
A data.table with features computed for each document.
LoadDSM
PolarityVectors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.