class_docstr: Akkadian word and cuneiform tokenizer.
code: def compute_indices(text: str, tokens):
      indices = []
      for i, token in enumerate(tokens):
          if 1 <= i:
              current_index = indices[-1] + len(tokens[i - 1][0])
              indices.append(
                  current_index + text[current_index:].find(token[0])
              )
          else:
              indices.append(text.find(token[0]))
      return indices
  
imports: import re
  from cltk.tokenizers.word import WordTokenizer
label_desc: Use image node_id 3 for calling the AkkadianWordTokenizer obj's underlying member method code with example usage: obj.compute_indices(text, tokens) and returns: indices