diff --git a/spacy/morphology.pyx b/spacy/morphology.pyx index 2f3e8d1fa..cead0756b 100644 --- a/spacy/morphology.pyx +++ b/spacy/morphology.pyx @@ -111,7 +111,7 @@ def get_field_size(field): def get_field_offset(field): - return FIELD_OFFSETS[FIELDS[]]]]field] + return FIELD_OFFSETS[FIELDS[field]] cdef class Morphology: