4c0737ab80aa30b92ed9f9d7fecd399a126a17d2,gensim/test/test_coherencemodel.py,TestCoherenceModel,testCuciMalletModel,#TestCoherenceModel#,148

Before Change



    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
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: RaRe-Technologies/gensim
Commit Name: 4c0737ab80aa30b92ed9f9d7fecd399a126a17d2
Time: 2017-09-18
Author: macks22@users.noreply.github.com
File Name: gensim/test/test_coherencemodel.py
Class Name: TestCoherenceModel
Method Name: testCuciMalletModel


Project Name: RaRe-Technologies/gensim
Commit Name: 4c0737ab80aa30b92ed9f9d7fecd399a126a17d2
Time: 2017-09-18
Author: macks22@users.noreply.github.com
File Name: gensim/test/test_coherencemodel.py
Class Name: TestCoherenceModel
Method Name: testCvMalletModel


Project Name: RaRe-Technologies/gensim
Commit Name: 4c0737ab80aa30b92ed9f9d7fecd399a126a17d2
Time: 2017-09-18
Author: macks22@users.noreply.github.com
File Name: gensim/test/test_coherencemodel.py
Class Name: TestCoherenceModel
Method Name: testUMassMalletModel


Project Name: RaRe-Technologies/gensim
Commit Name: 4c0737ab80aa30b92ed9f9d7fecd399a126a17d2
Time: 2017-09-18
Author: macks22@users.noreply.github.com
File Name: gensim/test/test_coherencemodel.py
Class Name: TestCoherenceModel
Method Name: testCnpmiMalletModel