docs_to_json compatibility with spacy 3.0 #11358
Answered
by
ljvmiranda921
EY4L
asked this question in
Help: Other Questions
-
Will this function get updated to include doc.spans['sc'] and generally be compatible with spacy 3.0? |
Beta Was this translation helpful? Give feedback.
Answered by
ljvmiranda921
Aug 23, 2022
Replies: 1 comment 2 replies
-
Hi @EY4L, since |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ljvmiranda921
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @EY4L, since
docs_to_json
generates the v2 training format, we don't have any plans of updating this anymore. If you're creating training data from the text themselves, you might be better off interacting with the span attributes rather than using this function. I'm curious as to why you want to use JSON? Is there anything specific in this format that you need in your problem?