class_docstr: Transforms the input sentence by removing a subordinate clause.
  
  Example::
  
      original: "The bill intends to restrict the RTC to
          Treasury borrowings only, unless the agency receives
          specific congressional authorization."
      transformed: "The bill intends to restrict the RTC to
          Treasury borrowings only."
docstr: Transform each sample case.
  
  :param ~DPSample sample:
  :return: transformed sample list.
docstr_tok: ["Transform","each","sample","case",".",":","param","~DPSample","sample",":",":","return",":","transformed","sample","list","."]
code: def _transform(self, sample, n=5, **kwargs):
      r"""
      Transform each sample case.
  
      :param ~DPSample sample:
      :return: transformed sample list.
  
      """
      subtrees = self.find_subtree(sample)
      if not subtrees:
          return []
      result = []
  
      for i, subtree in enumerate(subtrees):
          if i >= n:
              break
          else:
              sample_mod = sample.clone(sample)
              index = subtree[0] - 1
              for j in range(self.get_difference(subtree)):
                  sample_mod = sample_mod.delete_field_at_index(
                      "x", index
                  )
              result.append(sample_mod)
  
      return result
  
imports: from ..transformation import Transformation
label_desc: Use image node_id 2 for calling the DeleteSubTree obj's underlying member method code with example usage: obj._transform(sample, n) and returns: result, list