spaCy/spacy/tokens
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__.pxd * Break up tokens.pyx into tokens/doc.pyx, tokens/token.pyx, tokens/spans.pyx 2015-07-13 20:20:58 +02:00
__init__.py Modify morphology to support arbitrary features (#4932) 2020-01-23 22:01:54 +01:00
_retokenize.pyx Clean up spacy.tokens (#6046) 2020-09-16 20:32:38 +02:00
_serialize.py Refactor Token morph setting (#6175) 2020-10-01 22:21:46 +02:00
doc.pxd Refactor Docs.is_ flags (#6044) 2020-09-17 00:14:01 +02:00
doc.pyx Refactor Token morph setting (#6175) 2020-10-01 22:21:46 +02:00
morphanalysis.pxd Modify morphology to support arbitrary features (#4932) 2020-01-23 22:01:54 +01:00
morphanalysis.pyx Minor refactor for Morphology and MorphAnalysis (#5804) 2020-07-24 09:28:06 +02:00
span.pxd annotate kb_id through ents in doc 2019-03-22 11:36:44 +01:00
span.pyx Refactor Docs.is_ flags (#6044) 2020-09-17 00:14:01 +02:00
token.pxd Tidy up compiler flags and imports (#5071) 2020-03-02 11:48:10 +01:00
token.pyx Refactor Token morph setting (#6175) 2020-10-01 22:21:46 +02:00
underscore.py Remove object subclassing 2020-07-12 14:03:23 +02:00