Adding Word to User Dictionary

Freman

Uh Oh Elf
Generous elf
Joined
Aug 9, 2021
Messages
118
Hey, so after a recent adventure in teaching xlights some Aussie words (specifically: mozzie) I thought I'd try and document it.

The xLights manual sends you to the CMU LOGIOS tool and the The CMU Pronouncing Dictionary but "mozzie" wasn't in the dictionary and xlights wouldn't take the output from LOGIOS.

I was able to get it to work by using the User Lyric Dictionary dialog and asking ChatGPT, it was just a matter of figuring out how to ask

I'm sure there are other, probably better ways but that worked for me :D

My custom dictionary items to save anyone else the work:

Code:
WOWZA  W AW1 Z AH0
WATTSON  W AH1 T S AH0 N
LUMIE  L UW1 M IY0
ZAPPERS  Z AE1 P ER0 Z
MOZZIES  M AA1 Z IY0 Z
MOZZIE  M AA1 Z IY0
 

merryoncherry

Senior elf
Joined
Apr 2, 2022
Messages
645
Location
Cherry St., Hudson MA USA
Considering that xLights maps everything to about a half dozen faces, we should probably adjust phoneme_mapping (in program files) to take the unstressed phones. Then it would work with LOGIOS output.
 

Freman

Uh Oh Elf
Generous elf
Joined
Aug 9, 2021
Messages
118
Considering that xLights maps everything to about a half dozen faces, we should probably adjust phoneme_mapping (in program files) to take the unstressed phones. Then it would work with LOGIOS output.
Eh maybe, asking chatgpt was fairly easy as a work around tho :D
It just took me a day to figure out the unstressed ones weren't working.
Interestingly, I've apparently managed to do it before because Wowza isn't a word I added in this round of tinkering (I don't even remember adding it lol)
 
Top