shithub: flite

Download patch

ref: 25477859abb169a6041bca8e318c2b7039f5189d
parent: 64061a0b01413a0aa8f7e19c34475b2d80182a88
author: Alan W Black <awb@cs.cmu.edu>
date: Fri Nov 3 10:03:40 EDT 2017

fix dumped features

--- a/src/cg/cst_cg_dump_voice.c
+++ b/src/cg/cst_cg_dump_voice.c
@@ -292,6 +292,12 @@
                           get_param_string(v->features,"build_date","unknown"));
     cst_cg_write_voice_feature(fd, "description", 
                           get_param_string(v->features,"description","unknown"));
+    if (get_param_string(v->features,"prompt_dur",NULL))
+        cst_cg_write_voice_feature(fd, "prompt_dur", 
+                          get_param_string(v->features,"prompt_dur","unknown"));
+    if (get_param_string(v->features,"english_data",NULL))
+        cst_cg_write_voice_feature(fd, "english_data", 
+                                   get_param_string(v->features,"english_data","unknown"));
     // Sai Krishna 07 July 2017 
     // Flag to use shared vs mapped  phoneset. Storing as string
     cst_cg_write_voice_feature(fd, "eng_shared",