ValueError: Unexpected value for 'parser'. Options are: 'spacy', 'stanza', 'udpipe' #10511
Answered
by
ljvmiranda921
sudha-kannan
asked this question in
Help: Coding & Implementations
-
As per the init_parser definition the example provided in the spacy_conll page has mixed up the : "model_or_lang" |
Beta Was this translation helpful? Give feedback.
Answered by
ljvmiranda921
Mar 18, 2022
Replies: 1 comment
-
Hi @sudha-kannan , thanks for reporting. The documentation is indeed incorrect, I'll put up a fix in a few. Edit: Should be fixed now: #10516 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
svlandeg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @sudha-kannan , thanks for reporting. The documentation is indeed incorrect, I'll put up a fix in a few.
For posterity,
model_or_lang
andparser
are keyword arguments, so you can avoid this by explicitly assigning values to each.Edit: Should be fixed now: #10516