code: def remove_entity_tags(self):
          '''
          Returns
          -------
          A new TermDocumentMatrix consisting of only terms in the current TermDocumentMatrix
           that aren't spaCy entity tags.
  
          Note: Used if entity types are censored using FeatsFromSpacyDoc(tag_types_to_censor=...).
          '''
          terms_to_remove = [term for term in self._term_idx_store._i2val
                             if any([word in SPACY_ENTITY_TAGS for word in term.split()])]
          return self.remove_terms(terms_to_removef remove_entity_tags(self):
          '''
          Returns
          -------
          A new TermDocumentMatrix consisting of only terms in the current TermDocumentMatrix
           that aren't spaCy entity tags.
  
          Note: Used if entity types are censored using FeatsFromSpacyDoc(tag_types_to_censor=...).
          '''
          terms_to_remove = [term for term in self._term_idx_store._i2val
                             if any([word in SPACY_ENTITY_TAGS for word in term.split()])]
          return self.remove_terms(terms_to_remove)
docs: Returns
          -------
          A new TermDocumentMatrix consisting of only terms in the current TermDocumentMatrix
           that aren't spaCy entity tags.
  
          Note: Used if entity types are censored using FeatsFromSpacyDoc(tag_types_to_censor=...).