Skip to content

Commit

Permalink
Disabled entities again for main model of WaPo, a text-only base model.
Browse files Browse the repository at this point in the history
  • Loading branch information
jldevezas committed Jul 25, 2018
1 parent fbca0c9 commit 3d0008e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions army_ant/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,12 +486,12 @@ def build_triples(self, doc):
text = self.to_plain_text(doc, limit=3)
entities = self.ac_ner.extract(text)

for entity in entities:
triples.add((
Entity(),
Entity(label="mentions"),
Entity(label=entity)
))
# for entity in entities:
# triples.add((
# Entity(),
# Entity(label="mentions"),
# Entity(label=entity)
# ))

if self.include_ae_doc_profile:
doc_features = self.features.loc[doc['id']]
Expand Down

0 comments on commit 3d0008e

Please sign in to comment.