From: <re...@us...> - 2007-09-14 07:32:02
|
Revision: 1458 http://mosesdecoder.svn.sourceforge.net/mosesdecoder/?rev=1458&view=rev Author: redpony Date: 2007-09-14 00:31:56 -0700 (Fri, 14 Sep 2007) Log Message: ----------- The primary change here is that the distortion distance in a word lattice is now defined to be the number of words on the shortest path between the previous phrase's ending span and the next phrase's starting span. Originally, the distance was defined to be the difference in node number, which could be extremely large even for words that are, in some sense, adjacent. Only the distortion scoring has been fixed for word lattices, but the distortion limit is still broken. Modified Paths: -------------- trunk/moses/src/DummyScoreProducers.cpp trunk/moses/src/InputType.cpp trunk/moses/src/InputType.h trunk/moses/src/Makefile.am trunk/moses/src/StaticData.cpp trunk/moses/src/StaticData.h trunk/moses/src/WordLattice.cpp trunk/moses/src/WordLattice.h trunk/regression-testing/MosesRegressionTesting.pm trunk/regression-testing/run-test-suite.pl Added Paths: ----------- trunk/moses/src/FloydWarshall.cpp trunk/moses/src/FloydWarshall.h trunk/regression-testing/tests/lattice-distortion/ trunk/regression-testing/tests/lattice-distortion/CMD trunk/regression-testing/tests/lattice-distortion/filter-nbest.pl trunk/regression-testing/tests/lattice-distortion/filter-stderr.pl trunk/regression-testing/tests/lattice-distortion/filter-stdout.pl trunk/regression-testing/tests/lattice-distortion/moses.ini trunk/regression-testing/tests/lattice-distortion/phrase-table trunk/regression-testing/tests/lattice-distortion/phrase-table.binphr.idx trunk/regression-testing/tests/lattice-distortion/phrase-table.binphr.srctree trunk/regression-testing/tests/lattice-distortion/phrase-table.binphr.srcvoc trunk/regression-testing/tests/lattice-distortion/phrase-table.binphr.tgtdata trunk/regression-testing/tests/lattice-distortion/phrase-table.binphr.tgtvoc trunk/regression-testing/tests/lattice-distortion/small.lm trunk/regression-testing/tests/lattice-distortion/to-translate.txt trunk/regression-testing/tests/lattice-distortion/truth/ trunk/regression-testing/tests/lattice-distortion/truth/results.txt This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |