class_docstr: Class that applies position-dependent phonological transformation
class_docstr_tok: ["Class","that","applies","position-dependent","phonological","transformation"]
docstr: >>> umlaut_a = OldNorsePhonology.phonetic_i_umlaut(a)
  >>> umlaut_a.ipar
  'ɛ'
  
  >>> umlaut_au = OldNorsePhonology.phonetic_i_umlaut(DIPHTHONGS_IPA_class["au"])
  >>> umlaut_au.ipar
  'ɐy'
  
  :param sound: vowel
  :return: transformed vowel
docstr_tok: [">",">",">","umlaut_a","=","OldNorsePhonology.phonetic_i_umlaut","(","a",")",">",">",">","umlaut_a.ipar","'","\u025b'",">",">",">","umlaut_au","=","OldNorsePhonology.phonetic_i_umlaut","(","DIPHTHONGS_IPA_class","[","``","au","''","]",")",">",">",">","umlaut_au.ipar","'\u0250y'",":","param","sound",":","vowel",":","return",":","transformed","vowel"]
code: def phonetic_i_umlaut(sound: Vowel) -> Vowel:
      """
      >>> umlaut_a = OldNorsePhonology.phonetic_i_umlaut(a)
      >>> umlaut_a.ipar
      'ɛ'
  
      >>> umlaut_au = OldNorsePhonology.phonetic_i_umlaut(DIPHTHONGS_IPA_class["au"])
      >>> umlaut_au.ipar
      'ɐy'
  
      :param sound: vowel
      :return: transformed vowel
      """
      if sound.is_equal(a):
          return ee
      elif sound.is_equal(a.lengthen()):
          return ee.lengthen()
      elif sound.is_equal(o):
          return oee
      elif sound.is_equal(o.lengthen()):
          return oee.lengthen()
      elif sound.is_equal(u):
          return y
      elif sound.is_equal(u.lengthen()):
          return y.lengthen()
      if sound.is_equal(DIPHTHONGS_IPA_class["au"]):
          return DIPHTHONGS_IPA_class["ey"]
  
file_path: cltk/src/cltk/phonology/non/transcription.py
imports: from typing import Union
  from cltk.phonology.non.syllabifier import BACK_TO_FRONT_VOWELS
  from cltk.phonology.non.utils import AbstractConsonant, AbstractPosition, Backness, Consonant, Height, Length, Manner, Place, Rank, Rule, Vowel
label_desc: Use image node_id 1 for calling the OldNorsePhonology obj's underlying member method code with example usage: obj.phonetic_i_umlaut(sound) and returns: ee, DIPHTHONGS_IPA_class, ee, oee, oee, y, y