enlp.understanding.topics.bow_topic_modelling

enlp.understanding.topics.bow_topic_modelling(docs, no_topics=10)[source]

LDA Topic Modelling with BoW

Parameters
docslist

list of texts (documents)

no_topicsint

number of topics to determine

Returns
bow_modelgensim.model

topic model

dictionarygensim dictionary

Bag-of-Words dictionary for corpus, important for determining topics of new documents