docstr: Simply omit text the LIME/SHAP way.
docstr_tok: ["Simply","omit","text","the","LIME\/SHAP","way","."]
code: def replace(self, parts, part_idx_to_replace, *args, **kwargs):
      """
      Simply omit text the LIME/SHAP way.
      """
      parts_modified = [
          p for i, p in enumerate(parts) if i not in part_idx_to_replace
      ]
      return parts_modified
  
imports: import numpy
  from abc import ABC, abstractmethod
  from .text_utils import extract_non_overlapping_ngrams
label_desc: Use image node_id 2 for calling the RemovalPerturbation obj's underlying member method code with example usage: obj.replace(parts, part_idx_to_replace) and returns: parts_modified