diff --git a/website/docs/api/tokenizer.md b/website/docs/api/tokenizer.md index bd4e54dfb..b4a1126e6 100644 --- a/website/docs/api/tokenizer.md +++ b/website/docs/api/tokenizer.md @@ -107,8 +107,8 @@ details and examples. > > ```python > from spacy.attrs import ORTH, LEMMA -> case = [{"don't": [{ORTH: "do"}, {ORTH: "n't", LEMMA: "not"}]}] -> tokenizer.add_special_case(case) +> case = [{ORTH: "do"}, {ORTH: "n't", LEMMA: "not"}] +> tokenizer.add_special_case("don't", case) > ``` | Name | Type | Description |