code: def remove_terms(self, terms, ignore_absences=False):
          '''Non destructive term removal.
  
          Parameters
          ----------
          terms : list
              list of terms to remove
          ignore_absences : bool, False by default
              if term does not appear, don't raise an error, just move on.
  
          Returns
          -------
          TermDocMatrix, new object with terms removed.
          '''
          idx_to_delete_list = self._build_term_index_list(ignore_absences, terms)
          return self.remove_terms_by_indices(idx_to_delete_listf remove_terms(self, terms, ignore_absences=False):
          '''Non destructive term removal.
  
          Parameters
          ----------
          terms : list
              list of terms to remove
          ignore_absences : bool, False by default
              if term does not appear, don't raise an error, just move on.
  
          Returns
          -------
          TermDocMatrix, new object with terms removed.
          '''
          idx_to_delete_list = self._build_term_index_list(ignore_absences, terms)
          return self.remove_terms_by_indices(idx_to_delete_list)
docs: Non destructive term removal.
  
          Parameters
          ----------
          terms : list
              list of terms to remove
          ignore_absences : bool, False by default
              if term does not appear, don't raise an error, just move on.
  
          Returns
          -------
          TermDocMatrix, new object with terms removed.