class_docstr: Filter samples based on a group of phrases
  
  for example, with phrase_name = 'question'::
  
      sample 1: "Who is Jack.", score: 1
      sample 2: "I am Jack.", score: 0
docstr: Save the samples that mach the phrase groups
code: def get_slice(self, scores, dataset):
      r"""
      Save the samples that mach the phrase groups
  
      """
      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/phrase.py
imports: from flashtext import KeywordProcessor
  from ..subpopulation import SubPopulation
  from ....common.settings import NEGATION, QUESTION
label_desc: Use image node_id 5 for calling the PhraseSubPopulation obj's underlying member method code with example usage: obj.get_slice(scores, dataset) and returns: sub_samples