#compute coherence score coherence_model_lda = CoherenceModel(model = lda_model, texts = texts, dictionary = id2word, coherence = 'c_v') coherence_score = coherence_model_lda.get_coherence() print(coherence_score)