susanli2016 / NLP-with-Python

Scikit-Learn, NLTK, Spacy, Gensim, Textblob and more
2.74k stars 2.02k forks source link

About code #14

Closed psammy007 closed 5 years ago

psammy007 commented 5 years ago

for idx, topic in lda_model_tfidf.print_topics(-1): print('Topic: {} Word: {}'.format(idx, topic)) whats the significance of -1 in first line...