Description Usage Arguments Value Author(s) See Also
Compute basic metrics for a bag of words.
1 | eval_bow(bow, document = "document", term = "term", count = "count")
|
bow |
Tibble. Bag of words produced with create_bow. |
document |
Character string. Name of the variable indicating the document id. |
term |
Character string. Name of the variable indicating the term. |
count |
Character string. Name of the variable indicating the frequence. |
A tibble 9 variables: document, term, count, doc_word_count (number of words in the document), term_count (frequency of the term), term_document_count (number of documents in which the term appears), tf, idf, tf_idf.
Nicolas Mangin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.