Description Usage Arguments Details Examples
Compute the l1 or l2 normalization by normalizing separately for each document in a corpus.
1 2 3 |
corpus |
Model as returned by |
norm |
Norm used to normalize, defaults to |
file |
Path to a saved model. |
Target dimensionality (num_topics
) of 200–500 is recommended as a “golden standard” https://dl.acm.org/citation.cfm?id=1458105.
1 2 3 4 5 6 | docs <- prepare_documents(corpus)
dictionary <- corpora_dictionary(docs)
corpora <- doc2bow(dictionary, docs)
# fit model
norm <- model_norm(corpora)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.