Closed
Description
When I run the noun chunker over the phrase "100 tacos with a side of rice" it returns "a side" and "rice" but not "100 tacos".
The word "tacos" has the dependency label (dep_) of "ROOT". I think the problem may be that english_noun_chunks
in spacy.syntax.iterators
has 'root' as lowercase. See line 5
labels = ['nsubj', 'dobj', 'nsubjpass', 'pcomp', 'pobj',
'attr', 'root']
When I add 'ROOT' to labels
it works as expected and returns "100 tacos". Of course, there may be a reason that 'root' is different from 'ROOT' that I am not aware of.