This article explains how I create the dictionary.
1. Get a Haitian Creole spelling dictionary.
2. Language code of Haitian Creole is ht.
3. License is GPLv3.
4. Encoding of ht_HT.dic and ht_HT.aff is UTF-8.
5. Linux Mint 12 terminal:
cd /home/linuxmint/Documents/haitian-creole/dictionaries
unmunch ht_HT.dic ht_HT.aff > haitian-wordlist
6. Add speak tags at the beginning and the end of haitian-wordlist.
7. Terminal:
saxonb-xslt -ext:on -s:haitian-wordlist -xsl:'http://spirit.blau.in/simon/files/2010/04/create-audio-elements.xsl' -o:haitian-speak-audio
Which language is similar to Haitian Creole? I think that I should use French fr.
8. Terminal:
espeak -f haitian-speak-audio -m -v fr -q -x --ipa --phonout="haitian-espeak"
9. Add <lexicon> tags to the file haitian-espeak (<lexicon> at the beginning of the file; </lexicon> at the end of the file).
10. Create phoneme elements:
saxonb-xslt -ext:on -s:haitian-espeak -xsl:'http://spirit.blau.in/simon/files/2010/04/replace-newline-newline-space-by-phoneme-element.xsl' -o:haitian-phoneme-elements
11. Combine grapheme and phoneme elements:
paste haitian-speak-audio haitian-phoneme-elements > haitian-creole-dictionary.xml
12. Download Ralf’s Haitian Creole dictionary 0.1 (contains IPA phonemes).










