| phsource/ph_welsh \ | phsource/ph_welsh \ | ||||
| phsource/ph_wolof \ | phsource/ph_wolof \ | ||||
| phsource/ph_yoruba \ | phsource/ph_yoruba \ | ||||
| phsource/ph_yue \ | |||||
| phsource/ph_zh \ | phsource/ph_zh \ | ||||
| phsource/ph_zh_yue \ | |||||
| phsource/phonemes \ | phsource/phonemes \ | ||||
| src/espeak-ng | src/espeak-ng | ||||
| ESPEAK_DATA_PATH=$(CURDIR) src/espeak-ng --compile-intonations && \ | ESPEAK_DATA_PATH=$(CURDIR) src/espeak-ng --compile-intonations && \ | ||||
| espeak-ng-data/ur_dict \ | espeak-ng-data/ur_dict \ | ||||
| espeak-ng-data/uz_dict \ | espeak-ng-data/uz_dict \ | ||||
| espeak-ng-data/vi_dict \ | espeak-ng-data/vi_dict \ | ||||
| espeak-ng-data/zh_dict \ | |||||
| espeak-ng-data/zhy_dict | |||||
| espeak-ng-data/yue_dict \ | |||||
| espeak-ng-data/zh_dict | |||||
| af: espeak-ng-data/af_dict | af: espeak-ng-data/af_dict | ||||
| espeak-ng-data/af_dict: dictsource/af_list dictsource/af_rules dictsource/af_extra dictsource/af_emoji | espeak-ng-data/af_dict: dictsource/af_list dictsource/af_rules dictsource/af_extra dictsource/af_emoji | ||||
| espeak-ng-data/zh_dict: dictsource/zh_list dictsource/zh_rules dictsource/zh_extra dictsource/zh_emoji | espeak-ng-data/zh_dict: dictsource/zh_list dictsource/zh_rules dictsource/zh_extra dictsource/zh_emoji | ||||
| endif | endif | ||||
| zhy: espeak-ng-data/zhy_dict | |||||
| dictsource/zhy_listx: | |||||
| ln -svf extra/zhy_listx dictsource/ | |||||
| if HAVE_ZHY_EXTENDED_DICTIONARY | |||||
| espeak-ng-data/zhy_dict: dictsource/zhy_list dictsource/zhy_rules dictsource/zhy_extra dictsource/zhy_listx dictsource/zhy_emoji | |||||
| yue: espeak-ng-data/yue_dict | |||||
| dictsource/yue_listx: | |||||
| ln -svf extra/yue_listx dictsource/ | |||||
| if HAVE_YUE_EXTENDED_DICTIONARY | |||||
| espeak-ng-data/yue_dict: dictsource/yue_list dictsource/yue_rules dictsource/yue_extra dictsource/yue_listx dictsource/yue_emoji | |||||
| else | else | ||||
| espeak-ng-data/zhy_dict: dictsource/zhy_list dictsource/zhy_rules dictsource/zhy_extra dictsource/zhy_emoji | |||||
| espeak-ng-data/yue_dict: dictsource/yue_list dictsource/yue_rules dictsource/yue_extra dictsource/yue_emoji | |||||
| endif | endif | ||||
| cd dictsource && ESPEAK_DATA_PATH=$(CURDIR) LD_LIBRARY_PATH=../src:${LD_LIBRARY_PATH} ../src/espeak-ng --compile=yue && cd .. | cd dictsource && ESPEAK_DATA_PATH=$(CURDIR) LD_LIBRARY_PATH=../src:${LD_LIBRARY_PATH} ../src/espeak-ng --compile=yue && cd .. | ||||
| dictsource/zhy_emoji: | |||||
| dictsource/yue_emoji: | |||||
| @echo " EMOJI $@" | @echo " EMOJI $@" | ||||
| @if test x"${CLDR_PATH}" = x ; then \ | @if test x"${CLDR_PATH}" = x ; then \ | ||||
| touch $@ ; \ | touch $@ ; \ |
| [AS_HELP_STRING([--with-extdict-zh], [use the extended Mandarin Chinese Dictionary file @<:@default=no@:>@])], | [AS_HELP_STRING([--with-extdict-zh], [use the extended Mandarin Chinese Dictionary file @<:@default=no@:>@])], | ||||
| []) | []) | ||||
| AC_ARG_WITH([extdict-zhy], | |||||
| [AS_HELP_STRING([--with-extdict-zhy], [use the extended Cantonese Chinese Dictionary file @<:@default=no@:>@])], | |||||
| AC_ARG_WITH([extdict-yue], | |||||
| [AS_HELP_STRING([--with-extdict-yue], [use the extended Cantonese Chinese Dictionary file @<:@default=no@:>@])], | |||||
| []) | []) | ||||
| AC_ARG_WITH([libfuzzer], | AC_ARG_WITH([libfuzzer], | ||||
| have_extdict_zh=no | have_extdict_zh=no | ||||
| fi | fi | ||||
| if test "$with_extdict_zhy" = "yes" ; then | |||||
| have_extdict_zhy=yes | |||||
| if test "$with_extdict_yue" = "yes" ; then | |||||
| have_extdict_yue=yes | |||||
| else | else | ||||
| have_extdict_zhy=no | |||||
| have_extdict_yue=no | |||||
| fi | fi | ||||
| AM_CONDITIONAL(HAVE_RU_EXTENDED_DICTIONARY, [test x"$have_extdict_ru" = xyes]) | AM_CONDITIONAL(HAVE_RU_EXTENDED_DICTIONARY, [test x"$have_extdict_ru" = xyes]) | ||||
| AM_CONDITIONAL(HAVE_ZH_EXTENDED_DICTIONARY, [test x"$have_extdict_zh" = xyes]) | AM_CONDITIONAL(HAVE_ZH_EXTENDED_DICTIONARY, [test x"$have_extdict_zh" = xyes]) | ||||
| AM_CONDITIONAL(HAVE_ZHY_EXTENDED_DICTIONARY, [test x"$have_extdict_zhy" = xyes]) | |||||
| AM_CONDITIONAL(HAVE_YUE_EXTENDED_DICTIONARY, [test x"$have_extdict_yue" = xyes]) | |||||
| dnl ================================================================ | dnl ================================================================ | ||||
| dnl Compiler warnings. | dnl Compiler warnings. | ||||
| Extended Dictionaries: | Extended Dictionaries: | ||||
| Russian: ${have_extdict_ru} | Russian: ${have_extdict_ru} | ||||
| Chinese (Mandarin): ${have_extdict_zh} | Chinese (Mandarin): ${have_extdict_zh} | ||||
| Chinese (Cantonese): ${have_extdict_zhy} | |||||
| Chinese (Cantonese): ${have_extdict_yue} | |||||
| ]) | ]) |
| // zhy_list - the Cantonese dictionary file for eSpeak and Ekho | |||||
| // yue_list - the Cantonese dictionary file for eSpeak and Ekho | |||||
| // Maintainer: Cameron Wong, hgneng at gmail.com | // Maintainer: Cameron Wong, hgneng at gmail.com | ||||
| // Website: http://www.eguidedog.net/cantonese.php | // Website: http://www.eguidedog.net/cantonese.php | ||||
| // License: Creative Commons Attribution-Share Alike 3.0 | // License: Creative Commons Attribution-Share Alike 3.0 |
| |----------------------|---------------------|---------| | |----------------------|---------------------|---------| | ||||
| | `--with-extdict-ru` | Russian | no | | | `--with-extdict-ru` | Russian | no | | ||||
| | `--with-extdict-zh` | Mandarin Chinese | no | | | `--with-extdict-zh` | Mandarin Chinese | no | | ||||
| | `--with-extdict-zhy` | Cantonese | no | | |||||
| | `--with-extdict-yue` | Cantonese | no | | |||||
| The extended dictionaries are taken from | The extended dictionaries are taken from | ||||
| [http://espeak.sourceforge.net/data/](http://espeak.sourceforge.net/data/) and | [http://espeak.sourceforge.net/data/](http://espeak.sourceforge.net/data/) and |
| language zh-yue | language zh-yue | ||||
| language zh 8 | language zh 8 | ||||
| phonemes zhy | |||||
| dictionary zhy | |||||
| phonemes yue | |||||
| dictionary yue | |||||
| // interpret English letters as 1=English words, 2=jyutping | // interpret English letters as 1=English words, 2=jyutping | ||||
| dictrules 1 | dictrules 1 |
| phonemetable zh base1 | phonemetable zh base1 | ||||
| include ph_zh | include ph_zh | ||||
| phonemetable zhy base1 | |||||
| include ph_zh_yue | |||||
| phonemetable yue base1 | |||||
| include ph_yue | |||||
| // *** Tables extending base2 *** | // *** Tables extending base2 *** | ||||
| <Target Name="zh" Inputs="$(ProjectDir)..\..\dictsource\zh_rules;$(ProjectDir)..\..\dictsource\zh_list" Outputs="$(ProjectDir)..\..\espeak-ng-data\zh_dict" DependsOnTargets="Phonemes"> | <Target Name="zh" Inputs="$(ProjectDir)..\..\dictsource\zh_rules;$(ProjectDir)..\..\dictsource\zh_list" Outputs="$(ProjectDir)..\..\espeak-ng-data\zh_dict" DependsOnTargets="Phonemes"> | ||||
| <Exec Command="cd $(ProjectDir)..\..\dictsource && $(TargetDir)espeak-ng.exe --path=$(ProjectDir)..\.. --compile=zh" /> | <Exec Command="cd $(ProjectDir)..\..\dictsource && $(TargetDir)espeak-ng.exe --path=$(ProjectDir)..\.. --compile=zh" /> | ||||
| </Target> | </Target> | ||||
| <Target Name="zhy" Inputs="$(ProjectDir)..\..\dictsource\zhy_rules;$(ProjectDir)..\..\dictsource\zhy_list" Outputs="$(ProjectDir)..\..\espeak-ng-data\zhy_dict" DependsOnTargets="Phonemes"> | |||||
| <Target Name="yue" Inputs="$(ProjectDir)..\..\dictsource\yue_rules;$(ProjectDir)..\..\dictsource\yue_list" Outputs="$(ProjectDir)..\..\espeak-ng-data\yue_dict" DependsOnTargets="Phonemes"> | |||||
| <Exec Command="cd $(ProjectDir)..\..\dictsource && $(TargetDir)espeak-ng.exe --path=$(ProjectDir)..\.. --compile=yue" /> | <Exec Command="cd $(ProjectDir)..\..\dictsource && $(TargetDir)espeak-ng.exe --path=$(ProjectDir)..\.. --compile=yue" /> | ||||
| </Target> | </Target> | ||||
| <Target Name="Dictionaries" DependsOnTargets="af;am;an;ar;as;az;bg;bn;bs;ca;cs;cy;da;de;el;en;eo;es;et;eu;fa;fi;fr;ga;gd;gn;grc;gu;hi;hr;hu;hy;ia;id;is;it;jbo;ja;ka;kl;kn;ko;ku;ky;la;lfn;lt;lv;mk;ml;mr;ms;mt;my;nci;ne;nl;no;om;or;pa;pap;pl;pt;ro;ru;si;sk;sl;sq;sr;sv;sw;ta;te;tn;tr;tt;ur;vi;zh;zhy" /> | |||||
| <Target Name="Dictionaries" DependsOnTargets="af;am;an;ar;as;az;bg;bn;bs;ca;cs;cy;da;de;el;en;eo;es;et;eu;fa;fi;fr;ga;gd;gn;grc;gu;hi;hr;hu;hy;ia;id;is;it;jbo;ja;ka;kl;kn;ko;ku;ky;la;lfn;lt;lv;mk;ml;mr;ms;mt;my;nci;ne;nl;no;om;or;pa;pap;pl;pt;ro;ru;si;sk;sl;sq;sr;sv;sw;ta;te;tn;tr;tt;ur;vi;yue;zh" /> | |||||
| </Project> | </Project> |
| <Component Id="zh_dict" Win64="$(var.Win64)" Guid="6DF6E437-BF8B-4FCD-B094-D88C65ACDE6E"> | <Component Id="zh_dict" Win64="$(var.Win64)" Guid="6DF6E437-BF8B-4FCD-B094-D88C65ACDE6E"> | ||||
| <File Name="zh_dict" Source="$(var.ProjectDir)..\..\..\espeak-ng-data\zh_dict" KeyPath="yes"/> | <File Name="zh_dict" Source="$(var.ProjectDir)..\..\..\espeak-ng-data\zh_dict" KeyPath="yes"/> | ||||
| </Component> | </Component> | ||||
| <Component Id="zhy_dict" Win64="$(var.Win64)" Guid="D6BF57DA-A408-40FC-9D8E-610C8AED5836"> | |||||
| <File Name="zhy_dict" Source="$(var.ProjectDir)..\..\..\espeak-ng-data\zhy_dict" KeyPath="yes"/> | |||||
| <Component Id="yue_dict" Win64="$(var.Win64)" Guid="D6BF57DA-A408-40FC-9D8E-610C8AED5836"> | |||||
| <File Name="yue_dict" Source="$(var.ProjectDir)..\..\..\espeak-ng-data\yue_dict" KeyPath="yes"/> | |||||
| </Component> | </Component> | ||||
| <Directory Id="VOICES" Name="voices"> | <Directory Id="VOICES" Name="voices"> | ||||
| <Directory Id="AAV" Name="aav"> | <Directory Id="AAV" Name="aav"> | ||||
| </ComponentGroup> | </ComponentGroup> | ||||
| <ComponentGroup Id="LangChineseCantonese"> | <ComponentGroup Id="LangChineseCantonese"> | ||||
| <ComponentRef Id="yue"/> | <ComponentRef Id="yue"/> | ||||
| <ComponentRef Id="zhy_dict"/> | |||||
| <ComponentRef Id="yue_dict"/> | |||||
| </ComponentGroup> | </ComponentGroup> | ||||
| <ComponentGroup Id="LangChineseMandarin"> | <ComponentGroup Id="LangChineseMandarin"> | ||||
| <ComponentRef Id="cmn"/> | <ComponentRef Id="cmn"/> |