code: def getTokenWord(self, text, token_starts, token_ends):
      def _FindSubstr(input_tensor):
          text, token_start, token_length = input_tensor
          return string_ops.substr(text, token_start, token_length)
  
      token_lengths = token_ends - token_starts
      token_word = ragged_map_ops.map_fn(
          _FindSubstr,
          (text, token_starts, token_lengths),
          dtype=ragged_tensor.RaggedTensorType(
              dtype=dtypes.string, ragged_rank=1
          ),
          infer_shape=False,
      )
      return token_word
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import string_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_map_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.platform import test
  from tensorflow_text.python.ops import sentence_breaking_ops
label_desc: Use image node_id 1 for calling the SentenceFragmenterTestCasesV1 obj's underlying member method code with example usage: obj.getTokenWord(text, token_starts, token_ends) and returns: token_word, string_ops