code: def set_hierarchy(self, hierarchy):
          
          self.hierarchy = dict([(k, i) for i, j in enumerate(hierarchy) for k in j])
docs: Sets an alternative sonority hierarchy, note that you will also need
          to specify the vowelset with the set_vowels, in order for the module
          to correctly identify each nucleus.
  
          The order of the phonemes defined is by decreased consonantality
  
          Example:
              >>> s = Syllabifier()
  
              >>> s.set_hierarchy([['i', 'u'], ['e'], ['a'], ['r'], ['m', 'n'], ['f']])
  
              >>> s.set_vowels(['i', 'u', 'e', 'a'])
  
              >>> s.syllabify('feminarum')
              ['fe', 'mi', 'na', 'rum']