Omitting determiners from merged noun chunks #10743
-
Is there a way to omit determiners when merging noun phrases when using the To clarify, I'd for instance like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @lolfert! Customized noun chunk merging is out of the box not possible with A spaCy-only alternative to using Textacy is a custom pipeline component post-processing noun chunks with a modified implementation of |
Beta Was this translation helpful? Give feedback.
Hi @lolfert! Customized noun chunk merging is out of the box not possible with
merge_noun_chunks()
.A spaCy-only alternative to using Textacy is a custom pipeline component post-processing noun chunks with a modified implementation of
merge_noun_chunks()
. If you look up the source for Textacy's noun_chunks(), you'll see it's rather straightforward (same withmerge_noun_chunks()
). It should be easy enough to adapt those for your purposes and write a solution achieving something similar using only spaCy.