class_docstr: Configuration of a :class:`.Featurizer` object
class_docstr_tok: ["Configuration","of","a",":","class",":","`",".Featurizer","`","object"]
code: def to_dict(self):
      return {
          "unit_name": self.unit_name,
          "pvalue_threshold": self.pvalue_threshold,
          "added_cooccurrence_feature_ratio": self.added_cooccurrence_feature_ratio,
          "tfidf_vectorizer_config": self.tfidf_vectorizer_config.to_dict(),
          "cooccurrence_vectorizer_config": self.cooccurrence_vectorizer_config.to_dict(),
      }
  
imports: from __future__ import unicode_literals
  from snips_nlu.common.from_dict import FromDict
  from snips_nlu.constants import CUSTOM_ENTITY_PARSER_USAGE, NOISE, STEMS, STOP_WORDS, WORD_CLUSTERS
  from snips_nlu.entity_parser.custom_entity_parser import CustomEntityParserUsage
  from snips_nlu.pipeline.configs import Config, ProcessingUnitConfig
  from snips_nlu.resources import merge_required_resources
label_desc: Use image node_id 4 for calling the FeaturizerConfig obj's underlying member method code with example usage: obj.to_dict() and returns: dict