make sure all the phones in stimmen transcription can be treated correctly.

This commit is contained in:
yemaozi88
2019-02-06 00:00:14 +01:00
parent ab3887c6ca
commit da0242b0e1
15 changed files with 232 additions and 150 deletions

View File

@ -27,7 +27,7 @@ extract_features = 0
flat_start = 0
train_model_without_sp = 0
add_sp = 0
train_model_with_sp = 0
train_model_with_sp = 1
@ -321,7 +321,8 @@ if add_sp:
## ======================= train model with short pause =======================
if train_model_with_sp:
print('==== train model with sp ====')
for niter in range(niter_max+1, niter_max*2+1):
#for niter in range(niter_max+1, niter_max*2+1):
for niter in range(20, 50):
timer_start = time.time()
hmm_n = 'iter' + str(niter)
hmm_n_pre = 'iter' + str(niter-1)