Line 70: syntax error

Original config definition treated dictionary key as a function argument.
This commit is contained in:
tarskiandhutch 2021-02-08 15:24:57 -05:00 committed by GitHub
parent 25a0c6c32f
commit e897e7aaad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ data format used by the lookup and rule-based lemmatizers, see
> lemmatizer = nlp.add_pipe("lemmatizer")
>
> # Construction via add_pipe with custom settings
> config = {"mode": "rule", overwrite=True}
> config = {"mode": "rule", "overwrite": True}
> lemmatizer = nlp.add_pipe("lemmatizer", config=config)
> ```