Description Usage Arguments Value Examples
term frequency: get the frequency of term in doc (for gram_size chunks) NOTE: only 'gram_size=1' is implemented right now (i.e. words) NOTE: want to add option of stemming directly from a call to 'tf()'
1 2 |
doc |
|
term |
|
lower |
|
toss_punct |
|
toss_num |
|
gram_size |
numeric, frequency of term in document
1 | tf(doc="blah blah im tim my name is tim", term="tim")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.