From 740b39d0995d05c6bbddeeb2f7d5df780c5efd93 Mon Sep 17 00:00:00 2001 From: richardpaulhudson Date: Fri, 9 Dec 2022 21:07:50 +0100 Subject: [PATCH] Correction --- spacy/ml/models/lemmatizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/ml/models/lemmatizer.py b/spacy/ml/models/lemmatizer.py index f537983b2..14a0c879b 100644 --- a/spacy/ml/models/lemmatizer.py +++ b/spacy/ml/models/lemmatizer.py @@ -13,7 +13,7 @@ def build_lemmatizer_model( nO: Optional[int] = None, normalize=False, lowercasing=True, - lowercasing_relu_width: Optional[int] = 50, + lowercasing_relu_width: int = 50, ) -> Model[List[Doc], Union[List[Floats2d]]]: """Build a model for the edit-tree lemmatizer, using a provided token-to-vector component. A linear layer with softmax activation is added to predict scores