Skip to content

Commit

Permalink
temporary solution for arguments mismatch for canonical_target_name() #…
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenlujpl committed May 20, 2021
1 parent 08236d2 commit 3aeab39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/parserindexer/jsre_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ def parse(self, text):

contains_relation.append({
'label': 'contains',
'target_names': [canonical_target_name(rel[0]['word'])],
# TODO: 'target_names': [canonical_target_name(rel[0]['word'])],
'target_names': [rel[0]['word']],
'cont_names': [canonical_name(rel[1]['word'])],
'target_ids': ['%s_%d_%d' % (rel[0]['ner'].lower(),
rel[0]['characterOffsetBegin'],
Expand Down

0 comments on commit 3aeab39

Please sign in to comment.