Divider
  Speech Technology and Research Laboratory
  People
  Current Research Activities
  Past Research Activities
  Publications
  Career Opportunities
  Seminars
  Technologies for License
  In the News
  Contact Us
  STAR Search
  Information and Computing Sciences Division
SpacerAbout UsDividerR and D DivisionsDividerCareersDividerNewsroomDividerContact UsDividerSRI HomeSpacer

Spacer
         
  SRI Logo

Search SRILM-USER Archives

Match: Format: Sort by:
Search:

"format error in lattice file"?

From: Mike LeBeau <mlebeau at ADDRESS HIDDEN>
Date: Tue, 22 Feb 2005 18:15:45 -0800

Hi folks,

I've used lattice-tool to take a lattice file in HTK SLF format and
convert it to a file in PFSG format. This seems to have worked okay,
looking at the newly created file, it seems to correspond to the format
described in the pfsg-format man page. I used the following syntax to
create the file:

lattice-tool -read-htk -in-lattice htklattice.lat -out-lattice
pfsglattice.lat

However now I'm trying to use this new lattice file as the input to
nbest-lattice, to create an n-best list. Here's the syntax I'm trying
to use:

nbest-lattice -read pfsglattice.lat -write-nbest nbest.txt

This gives me the error:

pfsglattice.lat: line 2: unknown keyword
format error in lattice file

Looking over the file, it seems fine to me, and since the LM tools
themselves created this file, I assumed it would work. So what am I
missing? Thanks for any help you can provide.

-mike

Click here to go to the SRILM home page.

 

About Us  Vertical divider  R&D Divisions  Divider  Careers  Divider  Newsroom  Divider  Contact Us
©2006 SRI International, 333 Ravenswood Avenue, Menlo Park, CA 94025-3493
SRI International is an independent, nonprofit corporation. Privacy policy

Last modified Nov 21, 2008