Revision: 1073
http://mosesdecoder.svn.sourceforge.net/mosesdecoder/?rev=1073&view=rev
Author: hieuhoang1972
Date: 2006-12-15 07:39:37 -0800 (Fri, 15 Dec 2006)
Log Message:
-----------
Implemented user specified backoff
Users can specify multiple decode step lists. Imagine you have a word that
does not have a translation in your phrase table, you could have a new
decode step list which translated from word stems to word stems and then
generates the surface form. The way to use it is to specify the number
of the decode step list in moses.ini mapping eg:
(0 = word, 1 = stem)
[mapping]
0 T 0 #(first decode step list: with surface to surface)
1 T 1 #(second decode step list: backoff with stem to stem
1 G 0 # )
[ttable-file]
0 0 5 phrase-table.0-0
0 0 5 phrase-table.1-1
[generation-file]
0 1 1 generation.1-0
Modified Paths:
--------------
branches/lexi-smoothing/moses/src/Manager.cpp
branches/lexi-smoothing/moses/src/StaticData.cpp
branches/lexi-smoothing/moses/src/StaticData.h
branches/lexi-smoothing/moses/src/TranslationOptionCollection.cpp
branches/lexi-smoothing/moses/src/TranslationOptionCollection.h
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|