From 4d8dce5ba2a74faf699b9fd78a3b773a871682e7 Mon Sep 17 00:00:00 2001 From: Raphael Mitsch Date: Fri, 17 Mar 2023 11:28:18 +0100 Subject: [PATCH] Update spacy/errors.py Co-authored-by: Sofie Van Landeghem --- spacy/errors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/errors.py b/spacy/errors.py index e7f59c091..e1f7e7400 100644 --- a/spacy/errors.py +++ b/spacy/errors.py @@ -212,8 +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 (`.supports_prior_probs is False`). If your KB does support prior probability lookups, make sure " - "to return True in `.supports_prior_probs`.") + "lookups so this setting will be ignored. If your KB does support prior probability lookups, make sure " + "to return `True` in `.supports_prior_probs`.") class Errors(metaclass=ErrorsWithCodes):