mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
- Add an unit test for Reference. - Move functions to calculate the reference length from BleuScorer to Reference.
59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
import testing ;
|
|
|
|
lib m ;
|
|
|
|
lib mert_lib :
|
|
Util.cpp
|
|
FileStream.cpp
|
|
Timer.cpp
|
|
ScoreStats.cpp
|
|
ScoreArray.cpp
|
|
ScoreData.cpp
|
|
ScoreDataIterator.cpp
|
|
FeatureStats.cpp
|
|
FeatureArray.cpp
|
|
FeatureData.cpp
|
|
FeatureDataIterator.cpp
|
|
Data.cpp
|
|
BleuScorer.cpp
|
|
InterpolatedScorer.cpp
|
|
Point.cpp
|
|
PerScorer.cpp
|
|
Scorer.cpp
|
|
ScorerFactory.cpp
|
|
Optimizer.cpp
|
|
TER/alignmentStruct.cpp
|
|
TER/hashMap.cpp
|
|
TER/hashMapStringInfos.cpp
|
|
TER/stringHasher.cpp
|
|
TER/terAlignment.cpp
|
|
TER/terShift.cpp
|
|
TER/hashMapInfos.cpp
|
|
TER/infosHasher.cpp
|
|
TER/stringInfosHasher.cpp
|
|
TER/tercalc.cpp
|
|
TER/tools.cpp
|
|
TerScorer.cpp
|
|
CderScorer.cpp
|
|
MergeScorer.cpp
|
|
../util//kenutil m ..//z ;
|
|
|
|
exe mert : mert.cpp mert_lib ../moses/src//ThreadPool ;
|
|
|
|
exe extractor : extractor.cpp mert_lib ;
|
|
|
|
exe evaluator : evaluator.cpp mert_lib ;
|
|
|
|
exe pro : pro.cpp mert_lib ..//boost_program_options ;
|
|
|
|
alias programs : mert extractor evaluator pro ;
|
|
|
|
unit-test feature_data_test : FeatureDataTest.cpp mert_lib ..//boost_unit_test_framework ;
|
|
unit-test data_test : DataTest.cpp mert_lib ..//boost_unit_test_framework ;
|
|
unit-test ngram_test : NgramTest.cpp mert_lib ..//boost_unit_test_framework ;
|
|
unit-test reference_test : ReferenceTest.cpp mert_lib ..//boost_unit_test_framework ;
|
|
unit-test timer_test : TimerTest.cpp mert_lib ..//boost_unit_test_framework ;
|
|
unit-test util_test : UtilTest.cpp mert_lib ..//boost_unit_test_framework ;
|
|
|
|
install legacy : programs : <location>. ;
|