code: def _register_doc(
      self,
      X_factory,
      mX_factory,
      document_index,
      parsed_text,
      term_idx_store,
      metadata_idx_store,
  ):
      for term, count in self._feats_from_spacy_doc.get_feats(
          parsed_text
      ).items():
          term_idx = term_idx_store.getidx(term)
          X_factory[document_index, term_idx] = count
      for term, val in self._feats_from_spacy_doc.get_doc_metadata(
          parsed_text
      ).items():
          meta_idx = metadata_idx_store.getidx(term)
          mX_factory[document_index, meta_idx] = val
  
imports: import string
  from collections import Counter
  import numpy
  import pandas
  from scattertext.CSRMatrixTools import CSRMatrixFactory
  from scattertext.TermDocMatrix import TermDocMatrix
  from scattertext.features.FeatsFromSpacyDoc import FeatsFromSpacyDoc
  from scattertext.indexstore.IndexStore import IndexStore
label_desc: Use image node_id 11 for calling the TermDocMatrixFactory obj's underlying member method code with example usage: obj._register_doc(X_factory, mX_factory, document_index, parsed_text, term_idx_store, metadata_idx_store) without return types