gensim.corpora.BleiCorpus.__init__

BleiCorpus.__init__(fname, fname_vocab=None)[source]

Initialize the corpus from a file.

fname_vocab is the file with vocabulary; if not specified, it defaults to fname.vocab.