code: def __init__(self, model, term_from_token=lambda tok: tok.lower_):
      self.model = model
      self.term_from_token = term_from_token
      self.cartegory2dvid = None
      self.corpus = None
  
imports: import itertools
  from scattertext.ParsedCorpus import ParsedCorpus
label_desc: Use image node_id 1 to create a new Doc2VecBuilder object from inherited base classes: object with example: obj = Doc2VecBuilder(model, term_from_token)