          return tag.voice
      elif field == Field_VerbType:
          return tag.verb_type
      else:
          raise ValueError("Unknown field: (%d)" % field_id)
  
  
  cdef int check_feature(const MorphAnalysisC* tag, attr_t feature) nogil:
      if tag.abbr == feature:
          return 1
 
</s> remove         raise ValueError("Unknown feature: %s (%d)" % (FEATURE_NAMES.get(feature), feature))
 </s> add         raise ValueError(Errors.E167.format(field=FEATURE_NAMES.get(feature), field_id=feature)) </s> remove             raise ValueError(
                "Cannot apply transition {name}: invalid for the current state.".format(name=name))
 </s> add             raise ValueError(Errors.E170.format(name=name)) </s> remove                 raise KeyError("Unknown feature: %s" % self.strings[feature])
 </s> add                 raise ValueError(Errors.E167.format(feat=self.strings[feature], feat_id=feature)) </s> remove         raise ValueError("Can't find module {}".format(repr(module)))
 </s> add         raise ValueError(Errors.E169.format(module=repr(module)))
        raise ValueError(Errors.E168.format(field=field_id))
          return tag.voice
      elif field == Field_VerbType:
          return tag.verb_type
      else:
        raise ValueError(Errors.E168.format(field=field_id))
  
  
  cdef int check_feature(const MorphAnalysisC* tag, attr_t feature) nogil:
      if tag.abbr == feature:
          return 1
keep keep keep keep replace keep keep keep keep keep
 Improve Morphology errors (#4314)

* Improve Morphology errors

* Also clean up some other errors

* Update errors.py 
spacy/morphology.pyx