def testCuciMalletModel(self):
Perform sanity check to see if c_uci coherence works with LDA Mallet gensim wrapper
if not self.mallet_path:
return
CoherenceModel(model=self.malletmodel, texts=self.texts, coherence="c_uci")
def testCnpmiMalletModel(self):
Perform sanity check to see if c_npmi coherence works with LDA Mallet gensim wrapper
After Change
def testCuciMalletModel(self):
Perform sanity check to see if c_uci coherence works with LDA Mallet gensim wrapper
self._check_for_mallet()
CoherenceModel(model=self.malletmodel, texts=self.texts, coherence="c_uci")
def testCnpmiMalletModel(self):
Perform sanity check to see if c_npmi coherence works with LDA Mallet gensim wrapper