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 i to be j
docstr_tok: ["Assume","word-initial","or","intervocalic","i","to","be","j"]
code: def _j_maker(self):
      """
      Assume word-initial or intervocalic i to be j
      """
      out_phones = self.phones
      target = Phone("j")
      for n in range(len(self.phones)):
          p = self.phones[n]
          if p.ipa == "ɪ" and (
              (p.left.bound and p.right.vow)
              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 3 for calling the Word obj's underlying member method code with example usage: obj._j_maker() without return types