diff --git a/lib/tagnews/senteval/eval.py b/lib/tagnews/senteval/eval.py index 485d81a..af98988 100644 --- a/lib/tagnews/senteval/eval.py +++ b/lib/tagnews/senteval/eval.py @@ -54,14 +54,6 @@ def call_api(self, doc_text): return sentiment def is_police_entity(self, entity): - possible_responses = [ - "police", - "officer", - "cop", - "officers", - "pigs", - "policeofficer", - ] if entity in self.police_words: return entity for mention in entity.mentions: