コード例 #1
0
 def test_keyphrases2(self):
     processor = Processor()
     self.assertTrue("great event" in processor.textKeyPhrases(
         "This was a great event."))
コード例 #2
0
 def test_keyphrases3(self):
     processor = Processor()
     self.assertTrue("boring workshop" in processor.textKeyPhrases(
         "This was an boring workshop."))
コード例 #3
0
 def test_keyphrases1(self):
     processor = Processor()
     self.assertTrue("technical issues" in processor.textKeyPhrases(
         "The host had lots of technical issues."))