class_docstr: Tests the RougeMetric
code: def test_rouge(self):
      # pylint: disable=R0201
      hypotheses = np.array(
          [
              "The brown fox jumps over the dog 笑",
              "The brown fox jumps over the dog 2 笑",
          ]
      )
      references = np.array(
          [
              "The quick brown fox jumps over the lazy dog 笑",
              "The quick brown fox jumps over the lazy dog 笑",
          ]
      )
      output = rouge.rouge(hypotheses, references)
      # pyrouge result: 0.84926
      np.testing.assert_almost_equal(
          output["rouge_1/f_score"], 0.865, decimal=2
      )
      # pyrouge result: 0.55238
      np.testing.assert_almost_equal(
          output["rouge_2/f_score"], 0.548, decimal=2
      )
      # pyrouge result 0.84926
      np.testing.assert_almost_equal(
          output["rouge_l/f_score"], 0.852, decimal=2
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import numpy
  import tensorflow
  from seq2seq.metrics import bleu
  from seq2seq.metrics import rouge
  from seq2seq.metrics.metric_specs import BleuMetricSpec
  from seq2seq.metrics.metric_specs import RougeMetricSpec
label_desc: Use image node_id 1 for calling the TestRougeMetric obj's underlying member method code with example usage: obj.test_rouge() without return types