corpora_dictionary.Rd
Create a dictionary from a list of documents.
corpora_dictionary(docs, file = NULL)
docs | A list of documents as returned by |
---|---|
file | Path to save |
#> → Preprocessing 9 documents #> ← 9 documents after perprocessing(dict <- corpora_dictionary(docs))#> Dictionary(12 unique tokens: [u'minors', u'graph', u'system', u'trees', u'eps']...)