mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 02:16:32 +03:00
Update name in error message
This commit is contained in:
parent
a6edbcb7d2
commit
352b918356
|
@ -605,7 +605,7 @@ class Errors:
|
|||
'cfg = {"tokenizer": {"segmenter": "pkuseg", "pkuseg_model": name_or_path}}\n'
|
||||
'nlp = Chinese(config=cfg)')
|
||||
E1001 = ("Target token outside of matched span for match with tokens "
|
||||
"'{span}' and offset '{offset}' matched by patterns '{patterns}'.")
|
||||
"'{span}' and offset '{index}' matched by patterns '{patterns}'.")
|
||||
|
||||
|
||||
@add_codes
|
||||
|
|
Loading…
Reference in New Issue
Block a user