class_docstr: Rouge calculator class with custom command-line options.
code: def __init__(self, n_words=None, keep_files=False, options=None):
      if options is None:
          self.options = self.DEFAULT_OPTIONS.copy()
      else:
          self.options = options
  
      if n_words:
          options.extend(["-l", n_words])
  
      stem = "-m" in self.options
  
      super(Rouge, self).__init__(
          n_words=n_words, stem=stem, keep_files=keep_files
      )
  
imports: from subprocess import Popen, PIPE, CalledProcessError
  import json
  from text.torchtext.datasets.generic import Query
  import logging
  import os
  import re
  import string
  import numpy
  import collections
  from multiprocessing import Pool, cpu_count
  from contextlib import closing
  from pyrouge import Rouge155
  from sacrebleu import corpus_bleu
label_desc: Use image node_id 1 to create a new Rouge object from inherited base classes: Rouge155 with example: obj = Rouge(n_words, keep_files, options)