docstr: Token frequencies should not matter if we only consider unigrams.
docstr_tok: ["Token","frequencies","should","not","matter","if","we","only","consider","unigrams","."]
code: def testMatchingSentencesWithRepetitions(self):
      """Token frequencies should not matter if we only consider unigrams."""
      input_sentence = [3, 1, 4]
      output = [3, 3, 1, 1, 1, 4]
      references = [[3, 3, 3, 1, 1, 4, 4]]
      score, _, _, _ = sari_hook.get_sari_score(
          input_sentence, output, references, max_gram_size=1
      )
      self.assertEqual(1, score)
  
file_path: tensor2tensor/tensor2tensor/utils/sari_hook_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import numpy
  from tensor2tensor.utils import sari_hook
  import tensorflow.compat.v1
label_desc: Use image node_id 7 for calling the SariHookTest obj's underlying member method code with example usage: obj.testMatchingSentencesWithRepetitions() without return types