Thank you zen!
but when I check the trn.cnf file, the fullcontext.mmf and trn.cnf file both are the default outfile/file of the hts2.2 SI demo,I did not change any place!so I guess the files are consistent with each other. Have the other problem? > Date: Sat, 12 May 2012 09:02:34 +0100 > From: heigazen@xxxxxxxxxx > Subject: [hts-users:03291] Re: Questions about HHEd and HSMMAlign? > To: hts-users@xxxxxxxxxxxxxxx > > I expect that endianness of fullcontext.mmf is inconsistent with the > configuration variable in trn.cnf. > > Regards, > > Heiga > > 2012/5/11 Leo Arthur <bin007.zhao@xxxxxxxxxxx> > > > > 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? > > > > 在 2012-5-12,6:44,"Kalu Ogbureke" <udo.kalu@xxxxxxxx> 写道: > > > > 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 Arthu r <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? > > > > 在 2012-5-12,3:51,"Sébastien Le Maguer" <Sebastien.Le_maguer@xxxxxxxx> 写道: > > > > 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? > > > > > > > > -- > Heiga ZEN (in Japanese) > Byung Ha CHUN (in Korean) > <heigazen@xxxxxxxxxx> > |