While we're at it, the script should check the return code from lmplz and not have continued to build_binary.
On 08/16/2015 05:03 PM, Hieu Hoang wrote: > you decide > > Hieu Hoang > Researcher > New York University, Abu Dhabi > http://www.hoang.co.uk/hieu > > On 16 August 2015 at 20:02, Vincent Nguyen <[email protected] > <mailto:[email protected]>> wrote: > > > right but the config file is the config.basic from which I > uncommented the 3 lines for OSM. > So I guess the parameters are redundant with what is in the perl script. > which one to keep ? either way there is something to correct in the > github. > > > Le 16/08/2015 17:50, Hieu Hoang a écrit : >> there's a double declaration of -S when running lmplz. That's >> either a mistake in the config file or in the script >> >> On 16/08/2015 14:11, Vincent Nguyen wrote: >>> >>> the build-osm crashes in EMS with following error >>> any clue ? >>> >>> 23396000 23397000 23398000 23399000 23400000Converting Bilingual >>> Sentence Pair into Operation Corpus >>> Executing: /home/moses/mosesdecoder/bin/generateSequences >>> /home/moses/working/model/OSM.2//e >>> /home/moses/working/model/OSM.2//f >>> /home/moses/working/model/OSM.2/align >>> /home/moses/working/model/OSM.2//Singletons > >>> /home/moses/working/model/OSM.2//opCorpus >>> Learning Operation Sequence Translation Model >>> Executing: /home/moses/mosesdecoder/bin/lmplz -S 40% -T >>> /home/moses/working/model/tmp -S 20% -T >>> /home/moses/working/model/OSM.2 --order 5 --text >>> /home/moses/working/model/OSM.2//opCorpus --arpa >>> /home/moses/working/model/OSM.2//operationLM --prune 0 0 1 2>> >>> /dev/stderr >>> Binarizing >>> Executing: /home/moses/mosesdecoder/bin/build_binary >>> /home/moses/working/model/OSM.2//operationLM >>> /home/moses/working/model/OSM.2//operationLM.bin >>> util/file.cc:68 in int util::OpenReadOrThrow(const char*) threw >>> ErrnoException because `-1 == (ret = open(name, 00))'. >>> No such file or directory while opening >>> /home/moses/working/model/OSM.2//operationLM >>> ERROR >>> >>> >>> >>> _______________________________________________ >>> Moses-support mailing list >>> [email protected] <mailto:[email protected]> >>> http://mailman.mit.edu/mailman/listinfo/moses-support >> >> -- >> Hieu Hoang >> Researcher >> New York University, Abu Dhabi >> http://www.hoang.co.uk/hieu > > > > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
