Skip to content

Commit

Permalink
Method clustering
Browse files Browse the repository at this point in the history
  • Loading branch information
KyriakosFrang committed Mar 2, 2017
1 parent 156a5d0 commit 8e0d28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion method_clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def facet_embedding(db):
journal_flag = True

if conf_flag or journal_flag:
ners = db.sentences_ner.distinct('ner', {'paper_id': p, 'inWordnet': 0})
ners = db.sentences_ner.distinct('ner', {'paper_id': p, 'multiLabel_cls': {'$in': ['method']}, 'inWordnet': 0})
methodsString = ''
for ne in ners:
isint = is_int_or_float(ne)
Expand Down

0 comments on commit 8e0d28b

Please sign in to comment.