docstr: Parameters
  ----------
  use_lemmas : bool, optional
          False by default
  entity_types_to_censor : set, optional
          empty by default
  tag_types_to_censor : set, optional
          empty by default
  strip_final_period : bool, optional
          if you know that spacy is going to mess up parsing, strip final period.  default no.
docstr_tok: ["Parameters","--","--","--","--","--","use_lemmas",":","bool",",","optional","False","by","default","entity_types_to_censor",":","set",",","optional","empty","by","default","tag_types_to_censor",":","set",",","optional","empty","by","default","strip_final_period",":","bool",",","optional","if","you","know","that","spacy","is","going","to","mess","up","parsing",",","strip","final","period",".","default","no","."]
code: def __init__(
      self,
      use_lemmas=False,
      entity_types_to_censor=set(),
      tag_types_to_censor=set(),
      strip_final_period=False,
  ):
      """
      Parameters
      ----------
      use_lemmas : bool, optional
              False by default
      entity_types_to_censor : set, optional
              empty by default
      tag_types_to_censor : set, optional
              empty by default
      strip_final_period : bool, optional
              if you know that spacy is going to mess up parsing, strip final period.  default no.
      """
      self._use_lemmas = use_lemmas
      assert type(entity_types_to_censor) == set
      assert type(tag_types_to_censor) == set
      self._entity_types_to_censor = entity_types_to_censor
      self._pos_types_to_censor = {}
      self._tag_types_to_censor = tag_types_to_censor
      self._strip_final_period = strip_final_period
      self._ignore_censored_types = False
  
file_path: scattertext/scattertext/features/FeatsFromSpacyDoc.py
imports: from collections import Counter
  from itertools import chain
  import pandas
label_desc: Use image node_id 1 to create a new FeatsFromSpacyDoc object from inherited base classes: object with example: obj = FeatsFromSpacyDoc(use_lemmas, entity_types_to_censor, tag_types_to_censor, strip_final_period)