docstr: :param dict data:  The json obj that contains data info.
  :param ~Sample origin: Original sample obj.
  :param int sample_id: sample index
docstr_tok: [":","param","dict","data",":","The","json","obj","that","contains","data","info",".",":","param","~Sample","origin",":","Original","sample","obj",".",":","param","int","sample_id",":","sample","index"]
code: def __init__(self, data, origin=None, sample_id=None):
      r"""
  
      :param dict data:  The json obj that contains data info.
      :param ~Sample origin: Original sample obj.
      :param int sample_id: sample index
  
      """
      self.source = None
      self.target = None
      super().__init__(data, origin=origin, sample_id=sample_id)
  
file_path: textflint/textflint/input/component/sample/nmt_sample.py
imports: from .sample import Sample
  from ..field import TextField
label_desc: Use image node_id 1 to create a new NMTSample object from inherited base classes: Sample with example: obj = NMTSample(data, origin, sample_id)