docs: def _adjustSyllabification(adjustedPhoneList, syllableList):
      '''
      Inserts spaces into a syllable if needed
      
      Originally the phone list and syllable list contained the same number
      of phones.  But the adjustedPhoneList may have some insertions which are
      not accounted for in the syllableList.
      '''
      i = 0
      retSyllableList = []
      for syllableNum, syllable in enumerate(syllableList):
          j = len(syllable)
          if syllableNum == len(syllableList) - 1:
              j = len(adjustedPhoneList) - i
          tmpPhoneList = adjustedPhoneList[i:i + j]
          numBlanks = -1
          phoneList = tmpPhoneList[:]
          while numBlanks != 0:
              
              numBlanks = tmpPhoneList.count(u"''")
              if numBlanks > 0:
                  tmpPhoneList = adjustedPhoneList[i + j:i + j + numBlanks]
                  phoneList.extend(tmpPhoneList)
                  j += numBlanks
          
          for k, phone in enumerate(phoneList):
              if phone == u"''":
                  syllable.insert(k, u"''")
          
          i += j
          
          retSyllableList.append(syllable)
      
      return retSyllableList