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