vered1986 / OKR

OKR: A Consolidated Open Knowledge Representation for Multiple Texts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Important argument disregarded after implicit propositions added

OriShapira opened this issue · comments

We came across a case where an important implicit proposition was not stated even though PropS has it:

{'Entities': {'A1': ('Hurricane', (0,)),
  'A2': ('Down', (3,)),
  'A3': ('Sandy', (1,)),
  'A4': ('on', (4,)),
  'A5': ('East', (5,))},
 'Predicates': {'P1': {'Arguments': ['A1', 'A2'],
   'Bare predicate': ('Bears', (2,)),
   'Head': {'Lemma': 'Bears', 'POS': 'VBZ', 'Surface': ('Bears', [2])},
   'Template': '{A1} Bears {A2}'},
  'P2': {'Arguments': ('A3', 'A1'),
   'Bare predicate': ('IMPLICIT', (-1,)),
   'Head': {'Lemma': 'IMPLICIT', 'POS': 'IMPLICIT', 'Surface': 'IMPLICIT'},
   'Template': '{A3} {A1}'},
  'P3': {'Arguments': ('A4', 'A2'),
   'Bare predicate': ('IMPLICIT', (-1,)),
   'Head': {'Lemma': 'IMPLICIT', 'POS': 'IMPLICIT', 'Surface': 'IMPLICIT'},
   'Template': '{A4} {A2}'},
  'P4': {'Arguments': ('A5', 'A2'),
   'Bare predicate': ('IMPLICIT', (-1,)),
   'Head': {'Lemma': 'IMPLICIT', 'POS': 'IMPLICIT', 'Surface': 'IMPLICIT'},
   'Template': '{A5} {A2}'}},
 'Sentence': 'Hurricane Sandy Bears Down on East Coast'}

Here "East Coast" is a very important noun phrase that is disregarded and not stated as an implicit proposition.
PropS, however, recognizes it:
Bears:(subj:Hurricane Sandy , prep:Down on East Coast )
(and so does the Berkeley parser).

I think this was resolved in #39.
Please let me know.