code: def get_bound_form(noun: str, gender: str) -> str:
      """
      Return bound form of nound, given its gender.
  
      >>> get_bound_form("awīlum", "m")
      'awīl'
      """
  
      syllables = syllabify(noun)
      stemmed_noun = stem(noun, gender)
      cv_pattern = get_cv_pattern(stemmed_noun)
  
      # Based on Huehnergard Appendix 6.C.1: base in -VC
      if [letter[0] for letter in cv_pattern[-2:]] == [
          "V",
          "C",
      ] or stemmed_noun in ["nakr"]:
          # a. 2-syllable
          if len(syllables) > 2:
              # awīlum > awīl, nakrum > naker
              if stemmed_noun in ["nakr"]:
                  return "naker"
              else:
                  return stemmed_noun
          # b. 1-syllable
          elif len(syllables) > 1:
              # bēlum > bēl
              return stemmed_noun
          # c. abum, aḫum
          if stemmed_noun in ["ab", "aḫ"]:
              return stemmed_noun + "i"
  
      # Appendix 6.C.2: base in -C₁C₁
      if cv_pattern[-1][:2] == cv_pattern[-2][:2]:
          # a. 1-syllable
          if 3 > len(syllables) > 1:
              return stemmed_noun + "i"
          # b. 2-syllable, -tt
          if (
              len(syllables) > 2
              and cv_pattern[-1][2] + cv_pattern[-2][2] == "tt"
          ):
              return stemmed_noun + "i"
          # c. 2-syllable, other
          if len(syllables) > 2:
              return stemmed_noun[:-1]
  
      # Appendix 6.C.3: base in -C₁C₂, C₂ ≠ t, i.e. pVrs
      if (
          cv_pattern[-1][0] == cv_pattern[-2][0]
          and cv_pattern[-1][1] != cv_pattern[-2][1]
      ):
          return stemmed_noun[:-1] + stemmed_noun[1] + stemmed_noun[-1]
  
      # Appendix 6.C.4: base in -Ct (fem.)
      if cv_pattern[-1][2] == "t" and cv_pattern[-2][0] == "C":
          if len(syllables) > 2:
              return stemmed_noun + "i"
          # Need to deal with fem. Ptcpl. māḫirtum -> māḫirat
          if len(syllables) > 1:
              # These are case by case
              if stemmed_noun in ["qīšt"]:
                  return stemmed_noun + "i"
              if stemmed_noun in ["mārt"]:
                  return (
                      stemmed_noun[:-1]
                      + stemmed_noun[1]
                      + stemmed_noun[-1]
                  )
  
imports: from typing import Dict, List, Tuple
  from cltk.phonology.akk import AKKADIAN, get_cv_pattern, syllabify
  from cltk.stem.akk import ENDINGS, stem
label_desc: Use image node_id 1 for calling a global function with example usage: get_bound_form(noun, gender) and returns: unknown, unknown, unknown, unknown, stemmed_noun, unknown, str, stemmed_noun, stemmed_noun, unknown, unknown