Also, because I'll probably forget how to do this and need to search the mailing list archives, the type of the existing LM can be specified by type=??? where ??? is the appropriate LM type.
On Tue, Oct 15, 2013 at 10:12 AM, Lane Schwartz <[email protected]> wrote: > Thanks! > > And, it appears that if you do that EMS will automatically perform > binarization of the LM. If your file has already been binarized, or if > you just want to skip binarization, then instead of doing > lm=/path/to/my/lm do binlm=/path/to/my/lm > > Cheers, > Lane > > > On Tue, Oct 15, 2013 at 10:04 AM, Eleftherios Avramidis > <[email protected]> wrote: >> Hi Lane, >> >> in the section which describes the particular language model, you >> uncomment #lm = >> and directly point to your ready model. Type can be defined with the >> parameter 'type'. >> >> from example configuration: >> >> [LM:europarl] >> ### command to run to get raw corpus files >> >> # >> >> #get-corpus-script = "" >> >> ### raw corpus (untokenized) >> >> # >> >> raw-corpus = $wmt12-data/training/europarl-v7.$output-extension >> >> ### tokenized corpus files (may contain long sentences) >> >> # >> >> #tokenized-corpus = >> >> ### if corpus preparation should be skipped, >> >> # point to the prepared language model >> >> # >> >> #lm = >> >> >> >> >> best >> Lefteris >> >> On 15/10/13 15:40, Lane Schwartz wrote: >>> I'm running Moses v1, and I have some existing already-trained LM >>> files that I'd like to use. >>> >>> How can I tell EMS to use an existing LM file (presumably at the same >>> time telling EMS what LM type it is)? >>> >>> Thanks, >>> Lane >>> _______________________________________________ >>> Moses-support mailing list >>> [email protected] >>> http://mailman.mit.edu/mailman/listinfo/moses-support >> >> >> -- >> MSc. Inf. Eleftherios Avramidis >> DFKI GmbH, Alt-Moabit 91c, 10559 Berlin >> Tel. +49-30 238 95-1806 >> >> Fax. +49-30 238 95-1810 >> >> ------------------------------------------------------------------------------------------- >> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH >> Firmensitz: Trippstadter Strasse 122, D-67663 Kaiserslautern >> >> Geschaeftsfuehrung: >> Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) >> Dr. Walter Olthoff >> >> Vorsitzender des Aufsichtsrats: >> Prof. Dr. h.c. Hans A. Aukes >> >> Amtsgericht Kaiserslautern, HRB 2313 >> ------------------------------------------------------------------------------------------- >> >> _______________________________________________ >> Moses-support mailing list >> [email protected] >> http://mailman.mit.edu/mailman/listinfo/moses-support > > > > -- > When a place gets crowded enough to require ID's, social collapse is not > far away. It is time to go elsewhere. The best thing about space travel > is that it made it possible to go elsewhere. > -- R.A. Heinlein, "Time Enough For Love" -- When a place gets crowded enough to require ID's, social collapse is not far away. It is time to go elsewhere. The best thing about space travel is that it made it possible to go elsewhere. -- R.A. Heinlein, "Time Enough For Love" _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
