class_docstr: rouge metric
code: def __init__(self, config):
      super().__init__(config)
      print(config.keys())
      self.hyp_path = self.config["res_file"]
      self.ref_path = self.hyp_path + ".gt"
      self.tgt_paths = self.config["target_file"]
      self.label_path_file = self.config["text_vocab"]
      self.tgt_paths_after_pre_process = [
          one_path + ".after" for one_path in self.tgt_paths
      ]
  
imports: import os
  import abc
  from absl import logging
  import numpy
  from sklearn import metrics
  from seqeval.metrics import classification_report
  from delta.utils.register import registers
  from delta.utils.postprocess.postprocess_utils import ids_to_sentences
  from rouge import FilesRouge
  from sacrebleu import corpus_bleu
  from delta.utils.metrics import metric_utils
label_desc: Use image node_id 1 to create a new RougeCal object from inherited base classes: Metric with example: obj = RougeCal(config)