def test_affective_words(): words = Dataset(lang="Es").affective_words() assert len(words) assert isinstance(words, dict) assert len([k for k in words.keys() if k.count('~')])
def test_aggress_words(): words = Dataset().aggress_words() assert len(words) assert isinstance(words, dict) assert len([k for k in words.keys() if k.count('~')])