code: def test_sentencepiece_tok_idx_proj_4():
      src_tokens = ["What?"]
      tgt_tokens = ["▁What", "?"]
      tgt_token_index = [[0, 1]]
      ta = TokenAligner(src_tokens, tgt_tokens)
      for src_token_idx in range(len(src_tokens)):
          projected_tgt_tok_idx = ta.project_token_idxs(src_token_idx)
          assert (
              tgt_token_index[src_token_idx] == projected_tgt_tok_idx
          ).all()
  
imports: import numpy
  import pytest
  from jiant.utils.retokenize import TokenAligner, token_to_char
label_desc: Use image node_id 25 for calling a global function with example usage: test_sentencepiece_tok_idx_proj_4() without return types