code: def syllabify(word) -> List[str]:
      """
      Split Akkadian words into list of syllables
      >>> syllabify("napištašunu")
      ['na', 'piš', 'ta', 'šu', 'nu']
  
      >>> syllabify("epištašu")
      ['e', 'piš', 'ta', 'šu']
      """
  
      syllables = []
  
      # catch single character words
      if len(word) == 1:
          return [word]
  
      # If there's an initial vowel and the word is longer than 2 letters,
      # and the third syllable is a not consonant (easy way to check for VCC pattern),
      # the initial vowel is the first syllable.
      # Rule (b.ii)
      if _is_vowel(word[0]):
          if len(word) > 2 and not _is_consonant(word[2]):
              syllables.append(word[0])
              word = word[1:]
  
      # flip the word and count from the back:
      word = word[::-1]
  
      # Here we iterate over the characters backwards trying to match
      # consonant and vowel patterns in a hierarchical way.
      # Each time we find a match we store the syllable (in reverse order)
      # and move the index ahead the length of the syllable.
      syllables_reverse = []
      i = 0
      while i < len(word):
          char = word[i]
  
          # CV:
          if _is_vowel(char):
              if _is_vowel(word[i + 1]):
                  # Next char is a vowel so cut off syllable here
                  syllables_reverse.append(word[i])
                  i += 1
              else:
                  syllables_reverse.append(word[i + 1] + word[i])
                  i += 2
  
          # CVC and VC:
          elif _is_consonant(char):
              if _is_vowel(word[i + 1]):
                  # If there are only two characters left, that's it.
                  if i + 2 >= len(word):
                      syllables_reverse.append(word[i + 1] + word[i])
                      break
                  # CVC
                  elif _is_consonant(word[i + 2]):
                      syllables_reverse.append(
                          word[i + 2] + word[i + 1] + word[i]
                      )
                      i += 3
                  # VC (remember it's backwards here)
                  elif _is_vowel(word[i + 2]):
                      syllables_reverse.append(word[i + 1] + word[i])
                      i += 2
  
      return syllables + syllables_reverse[::-1]
  
file_path: cltk/src/cltk/phonology/akk.py
imports: from typing import List, Tuple, Union
label_desc: Use image node_id 7 for calling a global function with example usage: syllabify(word) and returns: unknown, list