Skip to content

Commit

Permalink
unused lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jlherzberg committed Nov 6, 2019
1 parent 89287f5 commit f4c2e36
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/tagnews/senteval/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f4c2e36

Please sign in to comment.