              self.cand_to_gold = [(j if j >= 0 else None) for j in i2j]
              self.gold_to_cand = [(i if i >= 0 else None) for i in j2i]
  
              self.orig = TokenAnnotation(ids=list(range(len(words))),
                      words=words, tags=tags, heads=heads, deps=deps,
                      entities=entities, morphs=morphs, lemmas=lemmas,
                      sent_starts=sent_starts, brackets=[])
  
              for i, gold_i in enumerate(self.cand_to_gold):
                  if doc[i].text.isspace():
                      self.words[i] = doc[i].text
 
</s> remove                             heads=heads, deps=deps, entities=entities,
                            morphs=morphs, lemmas=lemmas,
 </s> add                             pos=pos, morphs=morphs, lemmas=lemmas, heads=heads,
                            deps=deps, entities=entities, </s> remove                 heads=heads, deps=labels, entities=ner, morphs=morphs,
                lemmas=lemmas, sent_starts=sent_starts, brackets=brackets)
 </s> add                 pos=pos, morphs=morphs, lemmas=lemmas, heads=heads,
                deps=labels, entities=ner, sent_starts=sent_starts,
                brackets=brackets) </s> remove     def set_token_annotation(self, ids=None, words=None, tags=None, heads=None,
                             deps=None, entities=None, morphs=None, lemmas=None,
                             sent_starts=None, brackets=None):
 </s> add     def set_token_annotation(self, ids=None, words=None, tags=None, pos=None,
                             morphs=None, lemmas=None, heads=None, deps=None,
                             entities=None, sent_starts=None, brackets=None): </s> remove                     self.morphs[i] = set()
                    self.lemmas[i] = None
 </s> add 
                    words=words, tags=tags, pos=pos, morphs=morphs,
                    lemmas=lemmas, heads=heads, deps=deps, entities=entities,
              self.cand_to_gold = [(j if j >= 0 else None) for j in i2j]
              self.gold_to_cand = [(i if i >= 0 else None) for i in j2i]
  
              self.orig = TokenAnnotation(ids=list(range(len(words))),
                    words=words, tags=tags, pos=pos, morphs=morphs,
                    lemmas=lemmas, heads=heads, deps=deps, entities=entities,
                    words=words, tags=tags, pos=pos, morphs=morphs,
                    lemmas=lemmas, heads=heads, deps=deps, entities=entities,
                      sent_starts=sent_starts, brackets=[])
  
              for i, gold_i in enumerate(self.cand_to_gold):
                  if doc[i].text.isspace():
                      self.words[i] = doc[i].text
keep keep keep keep 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