mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-12 17:22:25 +03:00
Update W401 test.
This commit is contained in:
parent
307bbab285
commit
2377b67f81
|
@ -212,7 +212,8 @@ class Warnings(metaclass=ErrorsWithCodes):
|
|||
# v4 warning strings
|
||||
W400 = ("`use_upper=False` is ignored, the upper layer is always enabled")
|
||||
W401 = ("`incl_prior is True`, but the selected knowledge base type {kb_type} doesn't support prior probability "
|
||||
"lookups.")
|
||||
"lookups (`.supports_prior_probs is False`). If your KB does support prior probability lookups, make sure "
|
||||
"to return True in `.supports_prior_probs`.")
|
||||
|
||||
|
||||
class Errors(metaclass=ErrorsWithCodes):
|
||||
|
|
Loading…
Reference in New Issue
Block a user