Some failure cases
- 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
Causes for the failure:
- Parsing failure (A fire hydrant pouring water from it with a neon blue glow to it.)
- "Each other," adverbial clause (Two brown bears growling at each other while laying on a log.)
- Adverbial clause. (Broccoli and meat in a large pot that is ready for serving.)
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': []},
# ...
]
}
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': []}