code: def _register_category(self, category, category_idx_store, y):
      y.append(category_idx_store.getidx(category))
  
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 12 for calling the TermDocMatrixFactory obj's underlying member method code with example usage: obj._register_category(category, category_idx_store, y) without return types