spaCy/spacy/tests/training
Adriane Boyd 86c3ec9c2b
Refactor Token morph setting (#6175)
* Refactor Token morph setting

* Remove `Token.morph_`
* Add `Token.set_morph()`
  * `0` resets `token.c.morph` to unset
  * Any other values are passed to `Morphology.add`

* Add token.morph setter to set from MorphAnalysis
2020-10-01 22:21:46 +02:00
..
__init__.py move tests to correct subdir 2020-09-15 21:40:38 +02:00
test_new_example.py Refactor Token morph setting (#6175) 2020-10-01 22:21:46 +02:00
test_readers.py Fix small issues, resolve_dot_names and debug model 2020-09-29 20:38:35 +02:00
test_training.py Refactor Token morph setting (#6175) 2020-10-01 22:21:46 +02:00