def test_entity_salience(self): nlp = NLP() nlp.analyze_entities(test_content) self.assertTrue(nlp.get_salience())
def test_sentiment_score(self): nlp = NLP() nlp.analyze_entities(test_content) self.assertTrue(nlp.get_scores())
def test_entity_list(self): nlp = NLP() nlp.analyze_entities(test_content) self.assertTrue(nlp.get_entities_list())