1c49a98beade5469bc3b724cf938442b7fa394f1,gensim/test/test_keywords.py,TestKeywordsTest,test_text_keywords_words,#TestKeywordsTest#,41
Before Change
text = f.read()
// calculate exactly 13 keywords
generated_keywords = keywords(text, words=13).split("\n")
self.assertEqual(len(generated_keywords), 13)
def test_text_keywords_pos(self):
After Change
text = f.read()
// calculate exactly 13 keywords
generated_keywords = keywords(text, words=13, split=True)
self.assertEqual(len(generated_keywords), 13)
def test_text_keywords_pos(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: RaRe-Technologies/gensim
Commit Name: 1c49a98beade5469bc3b724cf938442b7fa394f1
Time: 2015-08-29
Author: thompson.keiran@gmail.com
File Name: gensim/test/test_keywords.py
Class Name: TestKeywordsTest
Method Name: test_text_keywords_words
Project Name: RaRe-Technologies/gensim
Commit Name: 1c49a98beade5469bc3b724cf938442b7fa394f1
Time: 2015-08-29
Author: thompson.keiran@gmail.com
File Name: gensim/test/test_keywords.py
Class Name: TestKeywordsTest
Method Name: test_keywords_ratio