spaCy/spacy/ml/models
adrianeboyd b71a11ff6d
Update morphologizer (#5108)
* Add pos and morph scoring to Scorer

Add pos, morph, and morph_per_type to `Scorer`. Report pos and morph
accuracy in `spacy evaluate`.

* Update morphologizer for v3

* switch to tagger-based morphologizer
* use `spacy.HashCharEmbedCNN` for morphologizer defaults
* add `Doc.is_morphed` flag

* Add morphologizer to train CLI

* Add basic morphologizer pipeline tests

* Add simple morphologizer training example

* Remove subword_features from CharEmbed models

Remove `subword_features` argument from `spacy.HashCharEmbedCNN.v1` and
`spacy.HashCharEmbedBiLSTM.v1` since in these cases `subword_features`
is always `False`.

* Rename setting in morphologizer example

Use `with_pos_tags` instead of `without_pos_tags`.

* Fix kwargs for spacy.HashCharEmbedBiLSTM.v1

* Remove defaults for spacy.HashCharEmbedBiLSTM.v1

Remove default `nM/nC` for `spacy.HashCharEmbedBiLSTM.v1`.

* Set random seed for textcat overfitting test
2020-04-02 14:46:32 +02:00
..
defaults Update morphologizer (#5108) 2020-04-02 14:46:32 +02:00
__init__.py Tidy up and auto-format 2020-02-28 11:57:41 +01:00
entity_linker.py Tidy up and auto-format 2020-02-28 11:57:41 +01:00
multi_task.py Default settings to configurations (#4995) 2020-02-27 18:42:27 +01:00
parser.py Train textcat with config (#5143) 2020-03-29 19:40:36 +02:00
tagger.py Tidy up and auto-format 2020-02-28 11:57:41 +01:00
tensorizer.py Default settings to configurations (#4995) 2020-02-27 18:42:27 +01:00
textcat.py Train textcat with config (#5143) 2020-03-29 19:40:36 +02:00
tok2vec.py Update morphologizer (#5108) 2020-04-02 14:46:32 +02:00