code: def test_bpe_tok_idx_proj_1():
      src_tokens = [
          "Members",
          "of",
          "the",
          "House",
          "clapped",
          "their",
          "hands",
      ]
      tgt_tokens = [
          "members</w>",
          "of</w>",
          "the</w>",
          "house</w>",
          "clapped</w>",
          "their</w>",
          "hands</w>",
      ]
      tgt_token_index = [[0], [1], [2], [3], [4], [5], [6]]
      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 18 for calling a global function with example usage: test_bpe_tok_idx_proj_1() without return types