SceneGraphParser icon indicating copy to clipboard operation
SceneGraphParser copied to clipboard

Some failure cases

Open wuhao5688 opened this issue 7 years ago • 3 comments

  • A fire hydrant pouring water from it with a neon blue glow to it.
  • Two brown bears growling at each other while laying on a log.
  • Broccoli and meat in a large pot that is ready for serving.

There is no output for these three sentences

wuhao5688 avatar Aug 23 '18 02:08 wuhao5688

Causes for the failure:

  1. Parsing failure (A fire hydrant pouring water from it with a neon blue glow to it.)
  2. "Each other," adverbial clause (Two brown bears growling at each other while laying on a log.)
  3. Adverbial clause. (Broccoli and meat in a large pot that is ready for serving.)

vacancy avatar Aug 23 '18 02:08 vacancy

spaCy parsing error: Broccoli and meat in a large pot that is ready for serving.

{
  'word': 'Broccoli',
  'lemma': 'Broccoli',
  'NE': 'PERSON',
  'POS_fine': 'JJ',
  'POS_coarse': 'ADJ',
  'arc': 'ROOT',
  'modifiers': [{'word': 'and',
    'lemma': 'and',
    'NE': '',
    'POS_fine': 'CC',
    'POS_coarse': 'CCONJ',
    'arc': 'cc',
    'modifiers': []},
   {'word': 'meat',
    'lemma': 'meat',
    'NE': '',
    'POS_fine': 'NN',
    'POS_coarse': 'NOUN',
    'arc': 'conj',
    'modifiers': []},
   # ...
  ]
}

vacancy avatar Aug 23 '18 02:08 vacancy

Here is a failure case: a man is standing in front of a table

No relations are detected.

{'entities': [{'head': 'man', 'lemma_head': 'man', 'lemma_span': 'the man', 'modifiers': [{'dep': 'det', 'lemma_span': 'the', 'span': 'the'}], 'span': 'the man', 'span_bounds': (0, 2), 'type': 'unknown'}, {'head': 'table', 'lemma_head': 'table', 'lemma_span': 'a table', 'modifiers': [{'dep': 'det', 'lemma_span': 'a', 'span': 'a'}], 'span': 'a table', 'span_bounds': (7, 9), 'type': 'unknown'}], 'relations': []}

MarcusNerva avatar May 11 '22 03:05 MarcusNerva