History

add guard for eng_shared feat

Alan W Black committed 9 years ago

Commit 826ecd81 parent a7ec22a1 file · +5 −4Browse files

Unified · Split

src/cg/cst_cg_dump_voice.c+5−4
@@ -298,10 +298,11 @@ int cst_cg_dump_voice(const cst_voice *v,const cst_string *filename) · 297 unmodified lines
298 if (get_param_string(v->features,"english_data",NULL))298 if (get_param_string(v->features,"english_data",NULL))
299 cst_cg_write_voice_feature(fd, "english_data", 299 cst_cg_write_voice_feature(fd, "english_data",
300 get_param_string(v->features,"english_data","unknown"));300 get_param_string(v->features,"english_data","unknown"));
301 // Sai Krishna 07 July 2017 301 /* Sai Krishna 07 July 2017 */
302 // Flag to use shared vs mapped phoneset. Storing as string302 /* Flag to use shared vs mapped eng phoneset, for bilingual voices */
303 cst_cg_write_voice_feature(fd, "eng_shared", 303 if (get_param_string(v->features,"eng_shared",NULL))
304 get_param_string(v->features,"eng_shared","0"));304 cst_cg_write_voice_feature(fd, "eng_shared",
305 get_param_string(v->features,"eng_shared","0"));
305 306
306 /* These three must be saved as string features307 /* These three must be saved as string features
307 (though are interpreted as floats) */308 (though are interpreted as floats) */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t