Merge branch 'add-span-finder' of https://github.com/kadarakos/spaCy into add-span-finder

This commit is contained in:
kadarakos 2023-05-08 13:45:57 +00:00
commit e5b2a8b506

View File

@ -970,7 +970,7 @@ class Errors(metaclass=ErrorsWithCodes):
E1050 = ("Port {port} is already in use. Please specify an available port with `displacy.serve(doc, port=port)` "
"or use `auto_select_port=True` to pick an available port automatically.")
E1051 = ("'allow_overlap' can only be False when max_positive is 1, but found 'max_positive': {max_positive}.")
E1052 = ("Both 'min_length' and 'max_length' should be larger than 1, but found"
E1052 = ("Both 'min_length' and 'max_length' should be larger than 0, but found"
" 'min_length': {min_length}, 'max_length': {max_length}")
E1053 = ("The text, including whitespace, must match between reference and "
"predicted docs when training {component}.")