From f4c2e3669de4a8ed00df698a895d954d9c158952 Mon Sep 17 00:00:00 2001 From: josh herzberg Date: Tue, 5 Nov 2019 19:47:34 -0600 Subject: [PATCH] unused lines --- lib/tagnews/senteval/eval.py | 8 -------- 1 file changed, 8 deletions(-) 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: