Example #1
0
 def test_clause_tokenize(self):
     sentence = self.sentences[1]
     wanted = [
         "In this respect, the BioCreative Interactive {Text Mining} (IAT) task has served as a great means to observe the approaches,",
         " standards and functionalities used by state-of-the-art text mining systems with potential applications in the biocuration domain. ",
     ]
     self.assertEqual(nlptools.clause_tokenize(sentence), wanted)
Example #2
0
 def test_clause_tokenize_intergration(self):
     self.assertEqual(''.join(nlptools.clause_tokenize(self.sentences[1])), self.sentences[1])
Example #3
0
 def test_clause_tokenize(self):
     sentence = self.sentences[1]
     wanted = ['In this respect, the BioCreative Interactive {Text Mining} (IAT) task has served as a great means to observe the approaches,',
               ' standards and functionalities used by state-of-the-art text mining systems with potential applications in the biocuration domain.']
     self.assertEqual(nlptools.clause_tokenize(sentence), wanted)
Example #4
0
 def test_clause_tokenize_intergration(self):
     self.assertEqual("".join(nlptools.clause_tokenize(self.sentences[1])), self.sentences[1])