code: def _tokenize_155_compat(text):
      """Tokenizes text in a manner that is consistent with ROUGE-1.5.5.pl."""
      text = re.sub(r"-", " - ", text)
      text = re.sub(r"[^A-Za-z0-9\-]", " ", text)
      tokens = text.split()
      tokens = [t for t in tokens if re.match(r"^[a-z0-9$]", t)]
      return tokens
  
file_path: text/tensorflow_text/python/metrics/text_similarity_metric_ops_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import re
  from absl.testing import parameterized
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.platform import test
  from tensorflow_text.python.metrics import text_similarity_metric_ops
label_desc: Use image node_id 2 for calling a global function with example usage: _tokenize_155_compat(text) and returns: tokens