mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-28 10:14:07 +03:00
Update spacy/errors.py
Co-authored-by: Paul O'Leary McCann <polm@dampfkraft.com>
This commit is contained in:
parent
ab0637c809
commit
91fe074bb5
|
@ -960,8 +960,8 @@ class Errors(metaclass=ErrorsWithCodes):
|
|||
E1047 = ("`find_threshold()` only supports components with a `scorer` attribute.")
|
||||
E1048 = ("No port available found for displacy on host {host}. Please specify an available port "
|
||||
"by `displacy.serve(doc, port)`")
|
||||
E1049 = ("Port {port} is already in use. Please specify an available port by `displacy.serve(doc, port) "
|
||||
"or let displacy automatically find a port by `displacy.serve(doc, auto_switch_port=True)`.")
|
||||
E1049 = ("Port {port} is already in use. Please specify an available port with `displacy.serve(doc, port)` "
|
||||
"or use `auto_switch_port=True` to pick an available port automatically.")
|
||||
|
||||
|
||||
# Deprecated model shortcuts, only used in errors and warnings
|
||||
|
|
Loading…
Reference in New Issue
Block a user