diff --git a/spacy/errors.py b/spacy/errors.py index f10723d20..77f83a253 100644 --- a/spacy/errors.py +++ b/spacy/errors.py @@ -955,7 +955,7 @@ class Errors(metaclass=ErrorsWithCodes): E1046 = ("{cls_name} is an abstract class and cannot be instantiated. If you are looking for spaCy's default " "knowledge base, use `InMemoryLookupKB`.") E1047 = ("Invalid rich group config '{label}'.") - E1048 = ("Length > 63 in rich group config '{label}.") + E1048 = ("Length > 63 in rich group config '{label}'.") E1049 = ("Rich group config {label} specifies lengths that are not in ascending order.") E1050 = ("Error splitting UTF-8 byte string into separate characters.") diff --git a/website/docs/api/architectures.md b/website/docs/api/architectures.md index 0c77da372..7475d8c00 100644 --- a/website/docs/api/architectures.md +++ b/website/docs/api/architectures.md @@ -183,9 +183,9 @@ updated). > include_static_vectors = "False" > case_sensitive = "False" > pref_lengths = [2, 3, 5] -> pref_rows = [10000, 10000, 10000] +> pref_rows = [10000, 10000,10000] > suff_lengths = [2, 3, 4, 5] -> suff_rows = [10000, 10000,10000,10000] +> suff_rows = [10000,10000,10000,10000] > suff_search_chars = "aeiouäöüß" > suff_search_lengths = [2, 3] > suff_search_rows = [10000,10000]