format error in lattice file...
stolcke at speech.sri.com
Tue Oct 30 21:23:22 PDT 2007
Partha Lal wrote:
> I'm trying to get a lattice error rate from an htk format lattice file
> but keep getting a format error:
> > lattice-tool -read-htk -in-lattice
The PFSG lattice format is NOT the one used by nbest-lattice.
nbest-lattice understands two kinds of format designed to encode
word posterior probabilities, both described in the wlat-format(5) man page.
The first format, word posterior lattices, is produced by lattice-tool
The second format, word confusion networks, aka sausages, is produced by
lattice-tool -write-mesh .
> > nbest-lattice -read
> -lattice-error -reference `cat
> line 2: unknown keyword
> format error in lattice file
> I can't see what's wrong with my lattice files - I've made them
> available at http://homepages.inf.ed.ac.uk/s0565860/lattice_problem/ .
> Can anyone suggest what might be wrong?
More information about the SRILM-User