class_docstr: Filter samples based on gender bias
  
  for example in mode 'man'::
  
      sample 1: "There is a boy.", score: 1
      sample 2: "There is a girl.", score: 1
      sample 3: "There are boys and girls.", score: 0
docstr: Save the samples that mach the phrase groups and mode
docstr_tok: ["Save","the","samples","that","mach","the","phrase","groups","and","mode"]
code: def get_slice(self, scores, dataset):
      r"""
      Save the samples that mach the phrase groups and mode
  
      """
      sub_samples = []
      for i, sample in enumerate(dataset):
          if scores[i]:
              sub_samples.append(sample)
      return sub_samples
  
file_path: textflint/textflint/generation/subpopulation/UT/prejudice.py
imports: from flashtext import KeywordProcessor
  from ..subpopulation import SubPopulation
  from ....common.settings import PREJUDICE_PATH
  from ....common.utils.install import download_if_needed
  from ....common.utils.file_io import read_json
label_desc: Use image node_id 7 for calling the PrejudiceSubPopulation obj's underlying member method code with example usage: obj.get_slice(scores, dataset) and returns: sub_samples