mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 12:20:20 +03:00
Correction
This commit is contained in:
parent
59b0b26cc6
commit
740b39d099
|
@ -13,7 +13,7 @@ def build_lemmatizer_model(
|
||||||
nO: Optional[int] = None,
|
nO: Optional[int] = None,
|
||||||
normalize=False,
|
normalize=False,
|
||||||
lowercasing=True,
|
lowercasing=True,
|
||||||
lowercasing_relu_width: Optional[int] = 50,
|
lowercasing_relu_width: int = 50,
|
||||||
) -> Model[List[Doc], Union[List[Floats2d]]]:
|
) -> Model[List[Doc], Union[List[Floats2d]]]:
|
||||||
"""Build a model for the edit-tree lemmatizer, using a provided token-to-vector component.
|
"""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
|
A linear layer with softmax activation is added to predict scores
|
||||||
|
|
Loading…
Reference in New Issue
Block a user