2012-02-08 21:47:54 +04:00
|
|
|
import testing ;
|
|
|
|
|
2011-11-18 20:25:45 +04:00
|
|
|
lib m ;
|
|
|
|
|
|
|
|
lib mert_lib :
|
|
|
|
Util.cpp
|
2012-03-20 19:11:54 +04:00
|
|
|
GzFileBuf.cpp
|
2011-11-18 20:25:45 +04:00
|
|
|
FileStream.cpp
|
|
|
|
Timer.cpp
|
2012-03-18 00:58:40 +04:00
|
|
|
ScoreStats.cpp
|
|
|
|
ScoreArray.cpp
|
|
|
|
ScoreData.cpp
|
2011-11-18 20:25:45 +04:00
|
|
|
ScoreDataIterator.cpp
|
2012-03-18 00:58:40 +04:00
|
|
|
FeatureStats.cpp
|
|
|
|
FeatureArray.cpp
|
|
|
|
FeatureData.cpp
|
2011-11-18 20:25:45 +04:00
|
|
|
FeatureDataIterator.cpp
|
2014-07-21 14:04:43 +04:00
|
|
|
ForestRescore.cpp
|
|
|
|
HopeFearDecoder.cpp
|
|
|
|
Hypergraph.cpp
|
2012-05-29 21:38:57 +04:00
|
|
|
MiraFeatureVector.cpp
|
|
|
|
MiraWeightVector.cpp
|
|
|
|
HypPackEnumerator.cpp
|
2011-11-18 20:25:45 +04:00
|
|
|
Data.cpp
|
|
|
|
BleuScorer.cpp
|
2013-07-03 16:03:58 +04:00
|
|
|
BleuDocScorer.cpp
|
2012-03-23 17:39:24 +04:00
|
|
|
SemposScorer.cpp
|
2012-03-23 20:52:24 +04:00
|
|
|
SemposOverlapping.cpp
|
2012-02-26 21:53:08 +04:00
|
|
|
InterpolatedScorer.cpp
|
2011-11-18 20:25:45 +04:00
|
|
|
Point.cpp
|
|
|
|
PerScorer.cpp
|
2014-09-16 14:12:14 +04:00
|
|
|
HwcmScorer.cpp
|
|
|
|
../moses/FF/InternalTree.cpp
|
2011-11-18 20:25:45 +04:00
|
|
|
Scorer.cpp
|
|
|
|
ScorerFactory.cpp
|
|
|
|
Optimizer.cpp
|
2012-03-18 08:08:38 +04:00
|
|
|
OptimizerFactory.cpp
|
2012-02-20 04:46:08 +04:00
|
|
|
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
|
2011-11-18 20:25:45 +04:00
|
|
|
TerScorer.cpp
|
|
|
|
CderScorer.cpp
|
2014-03-07 01:07:01 +04:00
|
|
|
MeteorScorer.cpp
|
2012-03-20 00:49:10 +04:00
|
|
|
Vocabulary.cpp
|
2012-05-09 21:21:41 +04:00
|
|
|
PreProcessFilter.cpp
|
2012-06-23 05:07:05 +04:00
|
|
|
SentenceLevelScorer.cpp
|
|
|
|
Permutation.cpp
|
|
|
|
PermutationScorer.cpp
|
2012-06-24 06:58:18 +04:00
|
|
|
StatisticsBasedScorer.cpp
|
2012-11-14 17:43:04 +04:00
|
|
|
../util//kenutil m ..//z ;
|
2011-11-18 20:25:45 +04:00
|
|
|
|
2012-11-12 23:56:18 +04:00
|
|
|
exe mert : mert.cpp mert_lib ../moses//ThreadPool ;
|
2011-11-18 20:25:45 +04:00
|
|
|
|
2012-11-08 02:21:59 +04:00
|
|
|
exe extractor : extractor.cpp mert_lib ;
|
2011-11-18 20:25:45 +04:00
|
|
|
|
2012-11-08 02:21:59 +04:00
|
|
|
exe evaluator : evaluator.cpp mert_lib ;
|
2011-11-18 20:25:45 +04:00
|
|
|
|
2012-12-10 16:12:34 +04:00
|
|
|
exe sentence-bleu : sentence-bleu.cpp mert_lib ;
|
|
|
|
|
2012-11-08 02:21:59 +04:00
|
|
|
exe pro : pro.cpp mert_lib ..//boost_program_options ;
|
2011-11-18 20:25:45 +04:00
|
|
|
|
2014-07-21 14:04:43 +04:00
|
|
|
exe kbmira : kbmira.cpp mert_lib ..//boost_program_options ..//boost_filesystem ;
|
2012-05-29 21:38:57 +04:00
|
|
|
|
2012-12-10 16:12:34 +04:00
|
|
|
alias programs : mert extractor evaluator pro kbmira sentence-bleu ;
|
2011-11-26 02:14:04 +04:00
|
|
|
|
2012-03-20 00:52:35 +04:00
|
|
|
unit-test bleu_scorer_test : BleuScorerTest.cpp mert_lib ..//boost_unit_test_framework ;
|
2012-03-07 01:32:38 +04:00
|
|
|
unit-test feature_data_test : FeatureDataTest.cpp mert_lib ..//boost_unit_test_framework ;
|
2012-02-08 21:47:54 +04:00
|
|
|
unit-test data_test : DataTest.cpp mert_lib ..//boost_unit_test_framework ;
|
2014-07-21 14:04:43 +04:00
|
|
|
unit-test forest_rescore_test : ForestRescoreTest.cpp mert_lib ..//boost_unit_test_framework ;
|
|
|
|
unit-test hypergraph_test : HypergraphTest.cpp mert_lib ..//boost_unit_test_framework ;
|
2012-03-14 17:14:11 +04:00
|
|
|
unit-test ngram_test : NgramTest.cpp mert_lib ..//boost_unit_test_framework ;
|
2012-03-18 08:08:38 +04:00
|
|
|
unit-test optimizer_factory_test : OptimizerFactoryTest.cpp mert_lib ..//boost_unit_test_framework ;
|
2012-04-12 00:19:11 +04:00
|
|
|
unit-test point_test : PointTest.cpp mert_lib ..//boost_unit_test_framework ;
|
2012-03-18 00:58:40 +04:00
|
|
|
unit-test reference_test : ReferenceTest.cpp mert_lib ..//boost_unit_test_framework ;
|
2012-03-20 00:49:10 +04:00
|
|
|
unit-test singleton_test : SingletonTest.cpp mert_lib ..//boost_unit_test_framework ;
|
2012-02-27 03:34:51 +04:00
|
|
|
unit-test timer_test : TimerTest.cpp mert_lib ..//boost_unit_test_framework ;
|
2012-02-20 02:39:24 +04:00
|
|
|
unit-test util_test : UtilTest.cpp mert_lib ..//boost_unit_test_framework ;
|
2012-03-19 22:43:04 +04:00
|
|
|
unit-test vocabulary_test : VocabularyTest.cpp mert_lib ..//boost_unit_test_framework ;
|
2011-11-26 02:14:04 +04:00
|
|
|
|
|
|
|
install legacy : programs : <location>. ;
|