class_docstr: Max. phonological unit, contains phones and triggers alternations.
class_docstr_tok: ["Max",".","phonological","unit",",","contains","phones","and","triggers","alternations","."]
docstr: Find accidental "ʊɪ" instances and treat as diphthong [uj].
docstr_tok: ["Find","accidental","``","\u028a\u026a","''","instances","and","treat","as","diphthong","[","uj","]","."]
code: def _uj_diph_maker(self):
      """
      Find accidental "ʊɪ" instances and treat as diphthong [uj].
      """
      out_phones = self.phones
      for n in range(len(self.phones)):
          p = self.phones[n]
          if p.left.ipa == "ʊ" and p.ipa == "ɪ":
              out_phones[n - 1] = Phone("u")
              out_phones[n] = Phone("j")
      self.phones = out_phones
      self._refresh()
  
imports: import re
  import unicodedata
  from typing import List
  from nltk.tokenize import wordpunct_tokenize
  from cltk.core.cltk_logger import logger
  from cltk.prosody.lat import macronizer
label_desc: Use image node_id 6 for calling the Word obj's underlying member method code with example usage: obj._uj_diph_maker() without return types