code: def _add_to_x_factory(self, row):
      parsed_text = row[self._parsed_col]
      for term, count in self._feats_from_spacy_doc.get_feats(
          parsed_text
      ).items():
          term_idx = self._term_idx_store.getidx(term)
          self._X_factory[row.name, term_idx] = count
      for meta, val in self._feats_from_spacy_doc.get_doc_metadata(
          parsed_text
      ).items():
          meta_idx = self._metadata_idx_store.getidx(meta)
          self._mX_factory[row.name, meta_idx] = val
  
file_path: scattertext/scattertext/CorpusFromParsedDocuments.py
imports: import numpy
  from scattertext.CSRMatrixTools import CSRMatrixFactory
  from scattertext.ParsedCorpus import ParsedCorpus
  from scattertext.features.FeatsFromSpacyDoc import FeatsFromSpacyDoc
  from scattertext.indexstore.IndexStore import IndexStore
label_desc: Use image node_id 4 for calling the CorpusFromParsedDocuments obj's underlying member method code with example usage: obj._add_to_x_factory(row) without return types