code: def get_wer_alignment_codes(hyp_str, ref_str):
      """
      INPUT: hypothesis string, reference string
      OUTPUT: List of alignment codes (intermediate results from WER computation)
      """
      t = WERTransformer(hyp_str, ref_str, verbose=0)
      return t.ed_.align(str2toks(ref_str), str2toks(hyp_str)).codes
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import re
  from collections import deque
  from enum import Enum
  import numpy
label_desc: Use image node_id 8 for calling a global function with example usage: get_wer_alignment_codes(hyp_str, ref_str) and returns: t