  
      def get_entity(self, i):
          return self.entities[i] if i < len(self.entities) else "-"
  
      def get_morph(self, i):
          return self.morphs[i] if i < len(self.morphs) else set()
  
      def get_lemma(self, i):
          return self.lemmas[i] if i < len(self.lemmas) else ""
  
      def get_sent_start(self, i):
          return self.sent_starts[i] if i < len(self.sent_starts) else None
  
  
  cdef class DocAnnotation:
 
</s> remove                 "morphs": self.morphs,
                "lemmas": self.lemmas,
 </s> add  </s> remove     def __init__(self, ids=None, words=None, tags=None, heads=None, deps=None,
            entities=None, morphs=None, lemmas=None, sent_starts=None,
 </s> add     def __init__(self, ids=None, words=None, tags=None, pos=None, morphs=None,
            lemmas=None, heads=None, deps=None, entities=None, sent_starts=None, </s> remove         self.morphs = morphs if morphs else []
        self.lemmas = lemmas if lemmas else []
 </s> add  </s> remove                     self.morphs[i] = set()
                    self.lemmas[i] = None
 </s> add 
  
      def get_entity(self, i):
          return self.entities[i] if i < len(self.entities) else "-"
  






      def get_sent_start(self, i):
          return self.sent_starts[i] if i < len(self.sent_starts) else None
  
  
  cdef class DocAnnotation:
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 Add support for pos/morphs/lemmas in training data (#4941)

Add support for pos/morphs/lemmas throughout `GoldParse`, `Example`, and
`docs_to_json()`. 
spacy/gold.pyx