Re: problems with LM loading

2017-10-16 Thread Tommaso Teofili
ly be caused by the lack of the text > "\\1-grams:" in the file you’re opening. Reference this function: > https://github.com/smilli/berkeleylm/blob/master/src/edu/berkeley/nlp/lm/io/ArpaLmReader.java#L105 > > > > Are you trying to load a binary lm with an Arpa reader by any chance?

Re: problems with LM loading

2017-10-16 Thread Matt Post
eylm/blob/master/src/edu/berkeley/nlp/lm/io/ArpaLmReader.java#L105 > > Are you trying to load a binary lm with an Arpa reader by any chance? Do you > have the quoted text in your text based LM? > > -Kellen > From: Tommaso Teofili > Sent: Monday, October 16, 2017 4:09 PM >

RE: problems with LM loading

2017-10-16 Thread kellen sunderland
or.apache.org Subject: Re: problems with LM loading p.s.: I've tried with other LPs (e.g. sd-en) and I get the same ... Il giorno lun 16 ott 2017 alle ore 15:06 Tommaso Teofili < tommaso.teof...@gmail.com> ha scritto: > Hi all, > > I am trying to use the ES-EN language pack

Re: problems with LM loading

2017-10-16 Thread Tommaso Teofili
p.s.: I've tried with other LPs (e.g. sd-en) and I get the same ... Il giorno lun 16 ott 2017 alle ore 15:06 Tommaso Teofili < tommaso.teof...@gmail.com> ha scritto: > Hi all, > > I am trying to use the ES-EN language pack from our "Language Packs" page > with Joshua 6.1, but when I get to load t

problems with LM loading

2017-10-16 Thread Tommaso Teofili
Hi all, I am trying to use the ES-EN language pack from our "Language Packs" page with Joshua 6.1, but when I get to load the two language models I get an IO execption. The config looks like: feature-function = LanguageModel -lm_type berkeleylm -lm_order 4 -lm_file model/lm.berkeleylm feature-fun