Skip to content
Discussion options

You must be logged in to vote

It's a restriction in spacy Doc objects that the sentence boundaries have to correspond to the dependency parses. So if your doc includes any dependency annotation (even a partial parse), the only way to modify the sentence boundaries is to modify the parses.

If you delete all the dependency annotation (as in your example rule), then you can set the sentence boundaries again with token.is_sent_start.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@databill86
Comment options

@adrianeboyd
Comment options

Answer selected by adrianeboyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
models Issues related to the statistical models
2 participants
Converted from issue

This discussion was converted from issue #10967 on June 22, 2022 15:03.