diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-03-18 00:58:40 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-03-18 00:58:40 +0400 |
commit | 6b95a19eda818fb772767a0037c70a7bbb6c32e5 (patch) | |
tree | e1b7d608005bcc33ee00646263583e83d03a53a2 /mert/Jamfile | |
parent | 918bcafb808fe3067a4d689607bffb7dbbf0a914 (diff) |
Create Reference class to clean up BleuScorer.
- Add an unit test for Reference.
- Move functions to calculate the reference length from
BleuScorer to Reference.
Diffstat (limited to 'mert/Jamfile')
-rw-r--r-- | mert/Jamfile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mert/Jamfile b/mert/Jamfile index 47f52b1ab..8879253d5 100644 --- a/mert/Jamfile +++ b/mert/Jamfile @@ -6,9 +6,13 @@ lib mert_lib : Util.cpp FileStream.cpp Timer.cpp -ScoreStats.cpp ScoreArray.cpp ScoreData.cpp +ScoreStats.cpp +ScoreArray.cpp +ScoreData.cpp ScoreDataIterator.cpp -FeatureStats.cpp FeatureArray.cpp FeatureData.cpp +FeatureStats.cpp +FeatureArray.cpp +FeatureData.cpp FeatureDataIterator.cpp Data.cpp BleuScorer.cpp @@ -47,6 +51,7 @@ 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 ; |