def __init__(self, fname, src, src_raw, pred_sents, attn, pred_scores, tgt_sent, gold_score):
    self.fname = fname
    self.src = src
    self.src_raw = src_raw
    self.pred_sents = pred_sents
    self.attns = attn
    self.pred_scores = pred_scores
    self.gold_sent = tgt_sent
    self.gold_score = gold_score
def __init__(self, fname, src, src_raw, pred_sents, attn, pred_scores, tgt_sent, gold_score):
    self.fname = fname
    self.src = src
    self.src_raw = src_raw
    self.pred_sents = pred_sents
    self.attns = attn
    self.pred_scores = pred_scores
    self.gold_sent = tgt_sent
    self.gold_score = gold_score