susanli2016 / NLP-with-Python

Scikit-Learn, NLTK, Spacy, Gensim, Textblob and more
2.72k stars 2.01k forks source link

About code #14

Closed psammy007 closed 4 years ago

psammy007 commented 4 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...