VoxForge
hello,
what tools you use for make the phomene by word
I used espeak but I dont't know if I use well.
i use this command :
espeak -v fr -q -X "lampe"
the result is :
Translate 'lampe'
1 l [l]
1 a [a]
43 am (p [A~]
1 p [p]
22 e (_ []
1 e [@]
l'A~p
What is the phomenes ?
thanks for help
> dont't know if I use well.
You are using it correctly, but you can use other ways like Ralf's french dictionary
http://spirit.blau.in/simon/2010/04/07/advantages-of-ralfs-french-dictionary/
http://www.stevekass.com/2010/09/12/lexemes-to-graphemes/
> What is the phomenes ?
Last line contains phoneme transcription:
l'A~p
They are not separated by spaces, you need to separate youself.
hello,
i have see Ralf dictionary and it's very complete :) but how I can use (or convert) with the tutorial ?
Hello,
I have try to use Ralf dictionary in the tuto, but for that, before I have use a little script to export data in a file format as :
NAME [NAME] phomene
script :
#!/bin/bash
fichierXML=$*;
while read lexeme
do
grapheme=`echo ${lexeme}|sed 's/.*<grapheme>\(.*\)<\/grapheme>.*/\1/'`
phoneme=`echo ${lexeme}|sed 's/.*<phoneme>\(.*\)<\/phoneme>.*/\1/'`
echo ${grapheme} "["${grapheme}"]" ${phoneme} >> Lexique
done < <(awk '/<grapheme>/ {grapheme=$0} /<phoneme>/ {phoneme=$0} /<\/lexeme>/ { print grapheme""phoneme""}' ${fichierXML})
But I have not sure of the result (encodage UTF8)
files here
xml : https://dl.dropbox.com/u/93726840/french-dictionary.xml
File_convert : https://dl.dropbox.com/u/93726840/Lexique
if it's right maybe this file can help somebody ;)
thanks for help