spaCy/spacy/tokens
Adriane Boyd ab270364f1
Modify Token.morph to enable unsetting (#6043)
Modify `Token.morph` property so that `Token.c.morph` can be reset back
to an internal value of `0`. Allow setting `Token.morph` from a hash as
long as the morph string is already in the `StringStore`, setting it
indirectly through `Token.morph_` so that the value is added to the
morphology. If the hash is not in the `StringStore`, raise an error.
2020-09-13 14:06:07 +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 Merge branch 'develop' into master-tmp 2020-09-04 13:15:36 +02:00
_serialize.py Update docs links in codebase 2020-09-04 12:58:50 +02:00
doc.pxd Record whether Doc objects are built from known spacing (#5697) 2020-07-03 12:58:16 +02:00
doc.pyx fix typo 2020-09-08 18:32:12 +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 Update docs links in codebase 2020-09-04 12:58:50 +02:00
token.pxd Tidy up compiler flags and imports (#5071) 2020-03-02 11:48:10 +01:00
token.pyx Modify Token.morph to enable unsetting (#6043) 2020-09-13 14:06:07 +02:00
underscore.py Remove object subclassing 2020-07-12 14:03:23 +02:00