From 7e8cd4a41df20b3ff82c3f53ff4fed9c4064aad1 Mon Sep 17 00:00:00 2001 From: vinit Date: Tue, 14 Mar 2023 23:58:42 +0530 Subject: [PATCH] fix morph docs --- website/docs/api/morphologizer.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/api/morphologizer.mdx b/website/docs/api/morphologizer.mdx index 440061dc5..2449e76aa 100644 --- a/website/docs/api/morphologizer.mdx +++ b/website/docs/api/morphologizer.mdx @@ -48,7 +48,7 @@ architectures and their arguments and hyperparameters. | `overwrite` 3.2 | Whether the values of existing features are overwritten. Defaults to `True`. ~~bool~~ | | `extend` 3.2 | Whether existing feature types (whose values may or may not be overwritten depending on `overwrite`) are preserved. Defaults to `False`. ~~bool~~ | | `scorer` 3.2 | The scoring method. Defaults to [`Scorer.score_token_attr`](/api/scorer#score_token_attr) for the attributes `"pos"` and `"morph"` and [`Scorer.score_token_attr_per_feat`](/api/scorer#score_token_attr_per_feat) for the attribute `"morph"`. ~~Optional[Callable]~~ | -| `label_smoothing` 3.6 | Whether or not to use label smoothing. Defaults to `False`. ~~bool~~ | +| `label_smoothing` 3.6 | Label smoothing factor. Defaults to `0.0`. ~~float~~ | ```python %%GITHUB_SPACY/spacy/pipeline/morphologizer.pyx