class_docstr: DP Sample class to hold the data info and provide atomic operations.
code: def dump(self):
      if not self.is_legal():
          raise ValueError("The postag data is not aligned with words.")
      return {
          "word": self.x.words,
          "postag": self.postag.field_value,
          "head": self.head.field_value,
          "deprel": self.deprel.field_value,
          "sample_id": self.sample_id,
      }
  
file_path: textflint/textflint/input/component/sample/dp_sample.py
imports: from .sample import Sample
  from ..field import ListField, TextField
  from ....common.utils.list_op import get_align_seq, normalize_scope
label_desc: Use image node_id 5 for calling the DPSample obj's underlying member method code with example usage: obj.dump() and returns: dict