class_docstr: Max. phonological unit, contains phones and triggers alternations.
class_docstr_tok: ["Max",".","phonological","unit",",","contains","phones","and","triggers","alternations","."]
docstr: Assume word-initial or intervocalic u to be w
docstr_tok: ["Assume","word-initial","or","intervocalic","u","to","be","w"]
code: def _w_maker(self):
      """
      Assume word-initial or intervocalic u to be w
      """
      out_phones = self.phones
      target = Phone("w")
      for n in range(len(self.phones)):
          p = self.phones[n]
          if ((p.ipa == "ʊ") or (p.ipa == "u")) and (
              (p.left.bound and (p.right.vow or p.right.ipa == "j"))
              or (p.left.vow and p.right.vow)
          ):
              out_phones[n] = target
      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 4 for calling the Word obj's underlying member method code with example usage: obj._w_maker() without return types