LexiconFeatures | R Documentation |
Computes features for a given lexicon.
LexiconFeatures(tokens, lexicon, prefix = NULL)
tokens |
Token data.table containing ids for document (id), sentence (sid) and token (tid) and token word. |
lexicon |
Lexicon as a data.table with word and score columns. |
prefix |
Optional prefix to add in front of column names. |
A data.table with features computed for each document.
CleanNLPTokens
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.