mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-14 17:47:19 +00:00
Use '_' to indicate no parent phoneme table in the 'phonemetable' command.
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ Starts a new phoneme table, and ends the previous table.
|
||||
|
||||
\<parent\> Is the name of a previously defined phoneme table whose phoneme
|
||||
definitions are inherited by this one. The name `base` indicates the first
|
||||
(base) phoneme table.
|
||||
(base) phoneme table. The name `_` indicates no parent phoneme table.
|
||||
|
||||
## Phoneme Definitions
|
||||
|
||||
|
||||
@@ -2412,7 +2412,7 @@ static void StartPhonemeTable(const char *name)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (ix == n_phoneme_tabs)
|
||||
if (ix == n_phoneme_tabs && strcmp(item_string, "_") != 0)
|
||||
error("Can't find base phonemetable '%s'", item_string);
|
||||
} else
|
||||
ReservePhCodes();
|
||||
|
||||
Reference in New Issue
Block a user