gensim.corpora.HashDictionary.add_documents

HashDictionary.add_documents(documents)[source]

Build dictionary from a collection of documents. Each document is a list of tokens = tokenized and normalized utf-8 encoded strings.

This is only a convenience wrapper for calling doc2bow on each document with allow_update=True.