| instances_vocabulary | R Documentation |
Retrieves a list of feature types (the "vocabulary") from an InstanceList reference.
instances_vocabulary(instances, newlines_significant = FALSE)
instances |
reference to the |
newlines_significant |
if vocabulary words include newlines, a slower method of extracting the vocabulary will be used (unusual for DfR) |
If you have the topic model trainer object, the vocabulary is retrievable
more quickly with an RTopicModel method:
trainer$getVocabulary(). But every InstanceList knows its
vocabulary.
character vector mapping one-based word indices to words as strings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.