Hello,
I started to add a new language – “Elfdalish”, ISO is “dlc”.
So, I went through your help page for adding a new language. Elfdalish is phonetically similar to Swedish, that’s why I took copies of the “sv” files and renamed them to “dlc” as needed.
C:\Program Files (x86)\eSpeak\espeak-data\voices\europe\dlc
(C:\Program Files (x86)\eSpeak\espeak-data\voices\test\dlc)
name elfdalish
language dlc
gender male
C:\Program Files (x86)\eSpeak\phsource\ph_elfdalish
Copy of ph_swedish
C:\Program Files (x86)\eSpeak\phsource\phonemes -> changed (2 lines added to call the “phonemetable” “dlc”)
phonemetable dlc base
include ph_elfdalish
C:\Program Files (x86)\eSpeak\dictsource\dict_phonemes -> chaned (lines copy of sv_dict as dlc_dict added)
Dictionary dlc_dict 2016-01-27
8 @ a A: E E- e: E:
I i: O o: U u- u: W
y y: Y:
: ; b d f g h j
k l m n N p R s
S s. S; sx t v w z
C:\Program Files (x86)\eSpeak\dictsource\dlc_rules
C:\Program Files (x86)\eSpeak\dictsource\dlc_list
Copies of sv_rules and sv_list
After compiling in cmd I got the following:
C:\Program Files (x86)\eSpeak\command_line>espeak --compile=dlc
Unknown phoneme table: 'dlc'
Using phonemetable: 'en'
Compiling: 'C:\Program Files (x86)\eSpeak\dictsource\dlc_list'
34: Bad phoneme [8] (U+38) in: w d'8b@lve:
36: Bad phoneme [y] (U+79) in: y y:
44: Bad phoneme [y] (U+79) in: ?? s'ymbu:lE-n
51: Bad phoneme [8] (U+38) in: _ac2 d'8bE-l'A:ku-t
54: Bad phoneme [8] (U+38) in: _cir s'IRk8mflEks
56: Bad phoneme [8] (U+38) in: _dot p'8Nkt
66: Bad phoneme [8] (U+38) in: . p'8Nkt
75: Bad phoneme [y] (U+79) in: _4 f'y:Ra
88: Bad phoneme [8] (U+38) in: _17 sx'8tOn
93: Bad phoneme [W] (U+57) in: _4X f'WRtI
96: Bad phoneme [8] (U+38) in: _7X sx'8tI
99: Bad phoneme [8] (U+38) in: _0C h'8ndRa
105: Bad phoneme [8] (U+38) in: _dpt p'8Nkt
106: Bad phoneme [W] (U+57) in: 1 f'Ws.ta
107: Bad phoneme [W] (U+57) in: 1 f'Ws.tE-
113: Bad phoneme [8] (U+38) in: 7 sx8ndE-
262: Bad phoneme [Y] (U+59) in: d├ñrf├Âr d'ERfY:R
322: Bad phoneme [8] (U+38) in: susanna s8s'ana
323: Bad phoneme [8] (U+38) in: susanne s8s'an
336: Bad phoneme [y] (U+79) in: tyvärr t%yv'E:R
341 entries
Compiling: 'C:\Program Files (x86)\eSpeak\dictsource\dlc_rules'
133: Bad phoneme [y] (U+79) in: analy analy:
194: Bad phoneme [8] (U+38) in: djung j'8N
195: Bad phoneme [8] (U+38) in: dum d8m
347: Bad phoneme [W] (U+57) in: gl├Âm glWm
356: Bad phoneme [Y] (U+59) in: h├Âg hY:g
425: Bad phoneme [8] (U+38) in: kommunika kOm8nIka
446: Bad phoneme [y] (U+79) in: meny mEn'y:
595: Bad phoneme [8] (U+38) in: rubrik R8bR'i:k
620: Bad phoneme [Y] (U+59) in: service sY:Rvi:s
646: Bad phoneme [y] (U+79) in: talsyntes t'A:lsynt,e:s
660: Bad phoneme [8] (U+38) in: dat) u (m 8
661: Bad phoneme [8] (U+38) in: u (CC 8
662: Bad phoneme [8] (U+38) in: u (n 8
667: Bad phoneme [8] (U+38) in: r) u (m_ 8:
669: Bad phoneme [8] (U+38) in: b) u (tik 8
670: Bad phoneme [8] (U+38) in: v) u (x 8
671: Bad phoneme [8] (U+38) in: lin) u (x %8
672: Bad phoneme [8] (U+38) in: uppge 8pje:
675: Bad phoneme [8] (U+38) in: u (ng 8
676: Bad phoneme [8] (U+38) in: u (nkC %8
677: Bad phoneme [8] (U+38) in: u (kti %8
688: Bad phoneme [y] (U+79) in: verktyg vERkty:g
701: Bad phoneme [y] (U+79) in: y y:
702: Bad phoneme [y] (U+79) in: y (CC y
703: Bad phoneme [y] (U+79) in: t) y (d 'y:
704: Bad phoneme [y] (U+79) in: s) y (s %y
705: Bad phoneme [y] (U+79) in: t) y (g 'y:
706: Bad phoneme [y] (U+79) in: s) y (nska y:
755: Bad phoneme [Y] (U+59) in: ├ Y:
756: Bad phoneme [W] (U+57) in: ├ (CC 'W
757: Bad phoneme [Y] (U+59) in: f) ├ (rd 'Y:
758: Bad phoneme [W] (U+57) in: f) ├ (rk %W
759: Bad phoneme [Y] (U+59) in: l) ├ (sn 'Y:
760: Bad phoneme [Y] (U+59) in: l) ├ (st 'Y:
761: Bad phoneme [Y] (U+59) in: ├ (vr 'Y:
762: Bad phoneme [W] (U+57) in: r) ├ (m 'W
763: Bad phoneme [Y] (U+59) in: ff) ├ 'Y:
772: Bad phoneme [8] (U+38) in: + pl8s
779: Bad phoneme [8] (U+38) in: . p'8Nt
783: Bad phoneme [8] (U+38) in: ) - (_D m'i:n8s
**697 rules, 30 groups (0)**
Do you have any ideas what I made wrong / why this “phonemetable” “dlc” is not found?
Thanks in advance!
Sebastian.
Hello, Sebastian,
I am having the very same problem with the Kyrgyz language.
I did the very same steps you took (copying all the necessary files from the Russian language), and got very similar errors.
Did you manage to find a solution to your problem?
Would you mind sharing it?
Thanks in advance,
Kamen
Last edit: Kamen Bonov 2016-07-05
Hello Kamen,
sadly I do not have a solution yet. And sadly, answers of Jonathan D. seem to be rare lately (I tried contacting him here and directly via email).
Hopefully, I get an answer sometimes. ;-)
Meanwhile, I'm working on other parts of my project. Later I will again try to get a deeper view inside the project's code and hopefully find an answer by myself (as so often in the past) at the end.
Maybe you could help me with searching?! You know, four eyes sees more than two. Would be great! :-)
Regards.
Sebastian.
Kamen,
could you please try compiling your source via espeakedit.exe -> Compile?
I tried and seems to work...
Let me know...
Sebastian.
No, does not work.
After compiling I tried the command line request
espeak -q -v dlc -z --ipa "god dag"
and again got:
Unknown phoneme table: 'dlc'
:-(
OK Kamen,
I finally found the solution - another post helped me.
You need to compile your language from ~\eSpeak\dictsource folder.
The command "espeak" worked for me only from ~\eSpeak\command_line folder.
That's why I added the path ~\eSpeak\command_line to the path environment variable and restart the machine. After that running the compile command from the dictsource folder worked without errors. Also the test worked fine.
I hope I could help.
Case closed.
Regards.
Sebastian.
Last edit: Sebastian Hoppe 2016-07-05