My perl script "training.pl"is right, it can training and get the normal result. Now, my question is How to convert the binary model mmf file to the corresponding text file?
|
When I use the command HHEd -A -C /HTSdemo/configs/trn.cnf -D -T 1 -H /HTSdemo/models/ qst001/ver1/fullcontext.mmf -w /HTSdemo/models/qst001/ver1/ fullcontext_text.mmf /HTSdemo/null.hed /HTSdemo/data/lists/full.list
|
I got the error information that "HMM Def Error: Token symbol expected at line 2、col 16/char/18 in the fullcontext.mmf”,
|
So, how to solve the problem?
Check for the line "# HTS Commands & Options ======================" at the top of the perl script "Training.pl" and change accordingly.--- El vie, 11/5/12, Leo Arthur <bin007.zhao@xxxxxxxxxxx> escribió: De: Leo Arthur <bin007.zhao@xxxxxxxxxxx> Asunto: [hts-users:03288] Re: Re: Questions about HHEd and HSMMAlign? Para: "hts-users@xxxxxxxxxxxxxxx" <hts-users@xxxxxxxxxxxxxxx> Fecha: viernes, 11 de mayo, 2012 22:29
sorry,when I checked my script,there is no"-B" flag,the email is wrong. The real command followed. HHEd -A -C /HTSdemo/configs/trn.cnf -D -T 1 -H /HTSdemo/models/ qst001/ver1/fullcontext.mmf -w /HTSdemo/models/qst001/ver1/ fullcontext_text.mmf /HTSdemo/null.hed /HTSdemo/data/lists/full.list
same error still exist, Does the command have other wrong place?
Hi,
to convert a binary file to an ASCII file you need to remove the
"-B" flag.
Kind regards,
Sébastien Le Maguer
Le 11/05/2012 18:08, ArthurLeo a écrit :
Hi all,
I have troubles when I convert the binary re_clustered_all.mmf file (hts2.2 SD
training.pl default output) to text file, the hhed comand
following:
HHEd -A -B -C /HTSdemo/configs/trn.cnf -D
-T 1 -H /HTSdemo/models/ qst001/ver1/fullcontext.mmf
-w /HTSdemo/models/qst001/ver1/
fullcontext_text.mmf /HTSdemo/null.hed /HTSdemo/data/lists/full.list
but the error occured and it is “HMM Def Error: Token symbol
expected at line 2、col 16/char/18 in the fullcontext.mmf”,Can
anyone give me advice?
How to convert the binary model mmf file to the corresponding text
file?
the se cond question is HSMMAlign, I want use the re_clustered.mmf model to do state alignment, Can hsmmalign do it? How do
it?
Can The hsmmalign ask the decision tree
until arrived the leaf node, then use the leaf node do state
alignment?
|
|