Skip to content
Discussion options

You must be logged in to vote

No, spacy probably isn't the right library for this. You can modify the parse tree keeping all tokens in place, but the underlying text is fixed for a particular Doc, so you can't reorder tokens by modifying the parse tree.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ophiry
Comment options

Answer selected by ines
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