class_docstr: Configuration of a :class:`.TfidfVectorizerConfig` object
class_docstr_tok: ["Configuration","of","a",":","class",":","`",".TfidfVectorizerConfig","`","object"]
code: def get_required_resources(self):
      resources = {STEMS: True if self.use_stemming else False}
      if self.word_clusters_name:
          resources[WORD_CLUSTERS] = {self.word_clusters_name}
      return resources
  
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 3 for calling the TfidfVectorizerConfig obj's underlying member method code with example usage: obj.get_required_resources() and returns: resources