spaCy/spacy/tests/doc
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 Revert #4334 2019-09-29 17:32:12 +02:00
test_add_entities.py begin_training -> initialize 2020-09-28 21:35:09 +02:00
test_array.py Refactor Token morph setting (#6175) 2020-10-01 22:21:46 +02:00
test_creation.py Add Lemmatizer and simplify related components (#5848) 2020-08-07 15:27:13 +02:00
test_doc_api.py Refactor Token morph setting (#6175) 2020-10-01 22:21:46 +02:00
test_morphanalysis.py Refactor Token morph setting (#6175) 2020-10-01 22:21:46 +02:00
test_pickle_doc.py Drop Python 2.7 and 3.5 (#4828) 2019-12-22 01:53:56 +01:00
test_retokenize_merge.py Refactor Token morph setting (#6175) 2020-10-01 22:21:46 +02:00
test_retokenize_split.py Refactor Token morph setting (#6175) 2020-10-01 22:21:46 +02:00
test_span.py Tidy up tests and docs 2020-09-21 20:43:54 +02:00
test_to_json.py Switch Doc.__init__(ents=) to IOB tags (#6173) 2020-10-01 16:22:18 +02:00
test_token_api.py Tidy up tests and docs 2020-09-21 20:43:54 +02:00
test_underscore.py Merge branch 'master' into tmp/sync 2020-03-26 13:38:14 +01:00