spaCy/spacy/tests/morphology
Adriane Boyd fdb8815ef5
Minor refactor for Morphology and MorphAnalysis (#5804)
* `MorphAnalysis.get` returns only the field values
* Move `_normalize_props` inside `Morphology` as
`Morphology.normalize_attrs` and simplify
  * Simplify POS field detection/conversion
  * Convert all non-POS features to strings
* `Morphology` returns an empty string for a missing morph to align
with the FEATS string returned for an existing morph
* Remove unused `list_to_feats`
2020-07-24 09:28:06 +02:00
..
__init__.py Revert #4334 2019-09-29 17:32:12 +02:00
test_morph_converters.py Minor refactor for Morphology and MorphAnalysis (#5804) 2020-07-24 09:28:06 +02:00
test_morph_features.py Tidy up and auto-format 2020-02-18 15:38:18 +01:00
test_morph_pickle.py Fix exceptions for Morphology.__reduce__ (#5792) 2020-07-22 15:00:25 +02:00