bugfix parser labels (#10797)

This commit is contained in:
kadarakos 2022-05-13 11:41:32 +02:00 committed by GitHub
parent 7634a488fe
commit fd36469900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ def _optimize(nlp, component: str, data: List, rehearse: bool):
elif component == "tagger":
_add_tagger_label(pipe, data)
elif component == "parser":
_add_tagger_label(pipe, data)
_add_parser_label(pipe, data)
elif component == "textcat_multilabel":
_add_textcat_label(pipe, data)
else: