spaCy/website/docs/usage/101
Adriane Boyd 85778dfcf4
Add edit tree lemmatizer (#10231)
* Add edit tree lemmatizer

Co-authored-by: Daniël de Kok <me@danieldk.eu>

* Hide edit tree lemmatizer labels

* Use relative imports

* Switch to single quotes in error message

* Type annotation fixes

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

* Reformat edit_tree_lemmatizer with black

* EditTreeLemmatizer.predict: take Iterable

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

* Validate edit trees during deserialization

This change also changes the serialized representation. Rather than
mirroring the deep C structure, we use a simple flat union of the match
and substitution node types.

* Move edit_trees to _edit_tree_internals

* Fix invalid edit tree format error message

* edit_tree_lemmatizer: remove outdated TODO comment

* Rename factory name to trainable_lemmatizer

* Ignore type instead of casting truths to List[Union[Ints1d, Floats2d, List[int], List[str]]] for thinc v8.0.14

* Switch to Tagger.v2

* Add documentation for EditTreeLemmatizer

* docs: Fix 3.2 -> 3.3 somewhere

* trainable_lemmatizer documentation fixes

* docs: EditTreeLemmatizer is in edit_tree_lemmatizer.py

Co-authored-by: Daniël de Kok <me@danieldk.eu>
Co-authored-by: Daniël de Kok <me@github.danieldk.eu>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
2022-03-28 11:13:50 +02:00
..
_architecture.md Add edit tree lemmatizer (#10231) 2022-03-28 11:13:50 +02:00
_language-data.md Update README and docs [ci skip] 2021-01-31 12:36:04 +11:00
_named-entities.md New batch of proofs 2020-10-14 16:37:57 +02:00
_pipelines.md Update docs [ci skip] 2020-09-30 15:16:00 +02:00
_pos-deps.md Fix UD POS docs links (fix #9013) (#9407) 2021-10-11 11:51:19 +02:00
_serialization.md
_tokenization.md New batch of proofs 2020-10-14 16:37:57 +02:00
_training.md Update _training.md - Fix broken link on backpropagation (#7431) 2021-03-15 09:21:35 +01:00
_vectors-similarity.md Merge pull request #6271 from walterhenry/develop-proof [ci skip] 2020-10-19 16:31:43 +02:00