mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-12 08:50:01 +00:00
mkdictlist: fix mapping/detection of the hbs dictionary (for 'bs' and 'hr')
This commit is contained in:
@@ -198,6 +198,7 @@ dictionaries: \
|
||||
espeak-data/ga_dict \
|
||||
espeak-data/grc_dict \
|
||||
espeak-data/gu_dict \
|
||||
espeak-data/hbs_dict \
|
||||
espeak-data/hi_dict \
|
||||
espeak-data/hu_dict \
|
||||
espeak-data/hy_dict \
|
||||
@@ -379,6 +380,12 @@ dictsource/gu_extra:
|
||||
espeak-data/gu_dict: src/espeak espeak-data/phontab dictsource/gu_list dictsource/gu_rules dictsource/gu_extra
|
||||
cd dictsource && ESPEAK_DATA_PATH=$(PWD) LD_LIBRARY_PATH=../src:${LD_LIBRARY_PATH} ../src/espeak --compile=gu && cd ..
|
||||
|
||||
hbs: espeak-data/hbs_dict
|
||||
dictsource/hbs_extra:
|
||||
touch dictsource/hbs_extra
|
||||
espeak-data/hbs_dict: src/espeak espeak-data/phontab dictsource/hbs_list dictsource/hbs_rules dictsource/hbs_extra
|
||||
cd dictsource && ESPEAK_DATA_PATH=$(PWD) LD_LIBRARY_PATH=../src:${LD_LIBRARY_PATH} ../src/espeak --compile=hbs && cd ..
|
||||
|
||||
hi: espeak-data/hi_dict
|
||||
dictsource/hi_extra:
|
||||
touch dictsource/hi_extra
|
||||
|
||||
@@ -13,6 +13,8 @@ dictionaries = {}
|
||||
|
||||
# Map voice names to dictionaries when these do not match.
|
||||
special_voices = {
|
||||
'bs': 'hbs',
|
||||
'hr': 'hbs',
|
||||
'zh-yue': 'zhy',
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user