gensim.corpora.HashDictionary.save_as_text

HashDictionary.save_as_text(fname)[source]

Save this HashDictionary to a text file, for easier debugging.

The format is: id[TAB]document frequency of this id[TAB]tab-separated set of words in UTF8 that map to this id[NEWLINE].

Note: use save/load to store in binary format instead (pickle).