class_docstr: Computes ROUGE Scores.
class_docstr_tok: ["Computes","ROUGE","Scores","."]
code: def merge_accumulators(
      self, accumulators: Iterable[_Accumulator]
  ) -> _Accumulator:
      accumulators = iter(accumulators)
      result = next(accumulators)
      for accumulator in accumulators:
          result.weighted_count += accumulator.weighted_count
          result.total_precision += accumulator.total_precision
          result.total_recall += accumulator.total_recall
          result.total_fmeasure += accumulator.total_fmeasure
  
      return result
  
imports: import dataclasses
  from typing import Dict, Iterable, Optional
  from absl import logging
  import apache_beam
  import nltk
  from tensorflow_model_analysis.metrics import metric_types
  from tensorflow_model_analysis.metrics import metric_util
  from tensorflow_model_analysis.proto import config_pb2
  from rouge_score import rouge_scorer
  from rouge_score import scoring
  from rouge_score import tokenizers
label_desc: Use image node_id 5 for calling the RougeCombiner obj's underlying member method code with example usage: obj.merge_accumulators(accumulators) and returns: result