code: def _create_word(
      dft, word_length, alphabet_size, breakpoints, letter_bits
  ):
      word = np.int64(0)
      for i in range(word_length):
          for bp in range(alphabet_size):
              if dft[i] <= breakpoints[i][bp]:
                  word = (word << letter_bits) | bp
                  break
  
      return word
  
file_path: sktime/sktime/transformations/panel/dictionary_based/_sfa_numba.py
imports: import math
  import numpy
  from sktime.utils.numba.njit import njit
label_desc: Use image node_id 6 for calling a global function with example usage: _create_word(dft, word_length, alphabet_size, breakpoints, letter_bits) and returns: word