Fix mixed-up parameters for spacy-conll (#10516)

This commit is contained in:
Lj Miranda 2022-03-18 15:56:21 +08:00 committed by GitHub
parent 3ff5a6a5c0
commit 0b02dc4c57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2415,8 +2415,8 @@
"# Indicate that we want to get the CoNLL headers in the string output.",
"# `use_gpu` and `verbose` are specific to stanza (and stanfordnlp). These keywords arguments",
"# are passed onto their Pipeline() initialisation",
"nlp = init_parser(\"stanza\",",
" \"en\",",
"nlp = init_parser(\"en\",",
" \"stanza\",",
" parser_opts={\"use_gpu\": True, \"verbose\": False},",
" include_headers=True)",
"# Parse a given string",