Returns the number of topics in a model.
n_topics(m)
m
mallet_model object
mallet_model
The number of topics.
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.