mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
Clarify warning W030 for misaligned BILUO tags (#5761)
This commit is contained in:
parent
7ea2cc7650
commit
5228920e2f
|
@ -113,8 +113,8 @@ class Warnings(object):
|
||||||
W030 = ("Some entities could not be aligned in the text \"{text}\" with "
|
W030 = ("Some entities could not be aligned in the text \"{text}\" with "
|
||||||
"entities \"{entities}\". Use "
|
"entities \"{entities}\". Use "
|
||||||
"`spacy.gold.biluo_tags_from_offsets(nlp.make_doc(text), entities)`"
|
"`spacy.gold.biluo_tags_from_offsets(nlp.make_doc(text), entities)`"
|
||||||
" to check the alignment. Misaligned entities ('-') will be "
|
" to check the alignment. Misaligned entities (with BILUO tag '-') "
|
||||||
"ignored during training.")
|
"will be ignored during training.")
|
||||||
W031 = ("Model '{model}' ({model_version}) requires spaCy {version} and "
|
W031 = ("Model '{model}' ({model_version}) requires spaCy {version} and "
|
||||||
"is incompatible with the current spaCy version ({current}). This "
|
"is incompatible with the current spaCy version ({current}). This "
|
||||||
"may lead to unexpected results or runtime errors. To resolve "
|
"may lead to unexpected results or runtime errors. To resolve "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user