          cats = {}
          for cat in paragraph.get("cats", {}):
              cats[cat["label"]] = cat["value"]
          example.set_token_annotation(ids=ids, words=words, tags=tags,
                  heads=heads, deps=labels, entities=ner, morphs=morphs,
                  lemmas=lemmas, sent_starts=sent_starts, brackets=brackets)
          example.set_doc_annotation(cats=cats)
          yield example
  
  
  def read_json_file(loc, docs_filter=None, limit=None):
 
</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                     words=words, tags=tags, heads=heads, deps=deps,
                    entities=entities, morphs=morphs, lemmas=lemmas,
 </s> add                     words=words, tags=tags, pos=pos, morphs=morphs,
                    lemmas=lemmas, heads=heads, deps=deps, entities=entities, </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             if not heads:
                heads = [None for _ in words]
            if not deps:
                deps = [None for _ in words]
 </s> add             if not pos:
                pos = [None for _ in words]
                pos=pos, morphs=morphs, lemmas=lemmas, heads=heads,
                deps=labels, entities=ner, sent_starts=sent_starts,
                brackets=brackets)
          cats = {}
          for cat in paragraph.get("cats", {}):
              cats[cat["label"]] = cat["value"]
          example.set_token_annotation(ids=ids, words=words, tags=tags,
                pos=pos, morphs=morphs, lemmas=lemmas, heads=heads,
                deps=labels, entities=ner, sent_starts=sent_starts,
                brackets=brackets)
                pos=pos, morphs=morphs, lemmas=lemmas, heads=heads,
                deps=labels, entities=ner, sent_starts=sent_starts,
                brackets=brackets)
          example.set_doc_annotation(cats=cats)
          yield example
  
  
  def read_json_file(loc, docs_filter=None, limit=None):
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