Unified · Split
| @@ -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 string | 302 | /* 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 features | 307 | /* These three must be saved as string features |
| 307 | (though are interpreted as floats) */ | 308 | (though are interpreted as floats) */ |