Skip to content
Discussion options

You must be logged in to vote

There is not a special mode for this or anything. What we have suggested in the past is pickling (#4445, #10514). That should avoid the overhead of recreating the the Docs, and should be similar to reading from a DocBin and using add.

There's no way to directly set the final internal data structures because they aren't exposed on the Python object, but we could think about adding a way to do that.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kinghuang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / matcher Feature: Token, phrase and dependency matcher perf / speed Performance: speed
2 participants