Skip to content
Discussion options

You must be logged in to vote

What you're trying to do is called sentence simplification and unfortunately it's not actually that simple in the general case - it's an ongoing research topic.

A simple thing you can do is look for words with the cc dependency and split the sentence there, as outlined in #3407. Using similar rules for specific situations, you should be able to handle sentences like your example and get pretty good coverage.

For the more general case, or more difficult cases, check NLP Progress on Sentence Simplification.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by polm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage General spaCy usage
2 participants