gensim.models.RpModel.__init__

RpModel.__init__(corpus, id2word=None, num_topics=300)[source]

id2word is a mapping from word ids (integers) to words (strings). It is used to determine the vocabulary size, as well as for debugging and topic printing. If not set, it will be determined from the corpus.