code: def testTokenize(
      self, text_input, expected_tokens, expected_starts, expected_ends
  ):
      hub_module_handle = (
          "tensorflow_text/python/ops/test_data/" "segmenter_hub_module"
      )
      segmenter = hub_module_tokenizer.HubModuleTokenizer(
          hub_module_handle
      )
      tokens, starts, ends = segmenter.tokenize_with_offsets(text_input)
      tokens_no_offset = segmenter.tokenize(text_input)
      self.evaluate(lookup_ops.tables_initializer())
      self.evaluate(variables_lib.global_variables_initializer())
      self.assertAllEqual(expected_tokens, tokens)
      self.assertAllEqual(expected_starts, starts)
      self.assertAllEqual(expected_ends, ends)
      self.assertAllEqual(expected_tokens, tokens_no_offset)
  
file_path: text/tensorflow_text/python/ops/hub_module_tokenizer_test.py
imports: from absl.testing import parameterized
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import lookup_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.platform import test
  from tensorflow_text.python.ops import hub_module_tokenizer
label_desc: Use image node_id 1 for calling the HubModuleTokenizerTest obj's underlying member method code with example usage: obj.testTokenize(text_input, expected_tokens, expected_starts, expected_ends) without return types