Help Needed for Multi-Word Expressions #9666
-
Hi, I am looking for a Spacy expert to consult for my development team. We have implemented Spacy and the basics are working fine. We are struggling with multi-word expressions like "put on", "put off", etc. We need to join these words into a single term (in our system, each row is a term): We could write some custom code to conceptually do "if adposition, then join to the prior term if verb", but it seems like this is too simplistic and will cause hard to detect problems if there are many other unknown use cases involving adpositions (I am not a grammarian). This also seems like a common problem that the Spacy community has probably already solved. If you know how to solve this issue (especially if you know how to do so via Spacy instead of writing custom code) and are looking for a consulting project, then please email me at [email protected]. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If you are focused on phrasal verbs, there's a If you want a consultant, there's a thread for that at the Prodigy forums that might be a better place to post. |
Beta Was this translation helpful? Give feedback.
If you are focused on phrasal verbs, there's a
prt
dependency relation that specifically covers that. You should be able to use the dependency parse or the DependencyMatcher to act on that if you need to. You could also merge the tokens if they're adjacent.If you want a consultant, there's a thread for that at the Prodigy forums that might be a better place to post.