mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 19:27:11 +03:00
adapt Jamfiles, don't output bleu score feature in nbest
This commit is contained in:
parent
1fab532bd0
commit
03d3cb6a7a
@ -1,6 +1,6 @@
|
||||
lib mira_lib :
|
||||
[ glob *.cpp : *Test.cpp Main.cpp ]
|
||||
../moses/src//moses ../OnDiskPt//OnDiskPt ..//boost_program_options ;
|
||||
../moses-cmd/src//IOWrapper_lib ../moses/src//moses ../OnDiskPt//OnDiskPt ..//boost_program_options ;
|
||||
|
||||
exe mira : Main.cpp mira_lib ;
|
||||
|
||||
@ -10,3 +10,4 @@ import testing ;
|
||||
|
||||
unit-test mira_test : [ glob *Test.cpp ] mira_lib ..//boost_unit_test_framework ;
|
||||
|
||||
explicit mira_test ;
|
@ -477,7 +477,8 @@ void OutputAllFeatureScores( std::ostream& out, const TranslationSystem* system,
|
||||
std::string lastName = "";
|
||||
const vector<const StatefulFeatureFunction*>& sff = system->GetStatefulFeatureFunctions();
|
||||
for( size_t i=0; i<sff.size(); i++ )
|
||||
OutputFeatureScores( out, path, sff[i], lastName );
|
||||
if (sff[i]->GetScoreProducerWeightShortName() != "bl")
|
||||
OutputFeatureScores( out, path, sff[i], lastName );
|
||||
|
||||
const vector<const StatelessFeatureFunction*>& slf = system->GetStatelessFeatureFunctions();
|
||||
for( size_t i=0; i<slf.size(); i++ )
|
||||
|
@ -1,8 +1,10 @@
|
||||
alias deps : ../../moses/src//moses ;
|
||||
|
||||
exe moses : Main.cpp mbr.cpp IOWrapper.cpp TranslationAnalysis.cpp LatticeMBR.cpp deps ;
|
||||
exe lmbrgrid : LatticeMBRGrid.cpp LatticeMBR.cpp IOWrapper.cpp deps ;
|
||||
exe moses : Main.cpp mbr.cpp TranslationAnalysis.cpp LatticeMBR.cpp IOWrapper_lib deps ;
|
||||
exe lmbrgrid : LatticeMBRGrid.cpp LatticeMBR.cpp IOWrapper_lib deps ;
|
||||
|
||||
alias programs : moses lmbrgrid ;
|
||||
|
||||
install legacy-install : programs : <location>. <install-type>EXE <install-dependencies>on <link>shared:<dll-path>$(TOP)/moses-cmd/src <link>shared:<install-type>LIB ;
|
||||
|
||||
lib IOWrapper_lib : IOWrapper.cpp deps : : : <include>. ;
|
||||
|
Loading…
Reference in New Issue
Block a user