diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-03-20 00:49:10 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-03-20 00:49:10 +0400 |
commit | 8987fed667c8c7cedfb714b28a061fb7b8030d6c (patch) | |
tree | 153d8406fcf4b558e952fc00b7c9a1b2403c9d49 /mert/Jamfile | |
parent | 1678ee37695a94e237b1ca1d07a22373a0f3a0cb (diff) |
Add thread unsafe Singleton class.
- Add Vocabulary factory and the unit test.
- Remove Scorer::ClearVocabulary().
Diffstat (limited to 'mert/Jamfile')
-rw-r--r-- | mert/Jamfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mert/Jamfile b/mert/Jamfile index ab105db43..874ff8014 100644 --- a/mert/Jamfile +++ b/mert/Jamfile @@ -37,6 +37,7 @@ TER/tools.cpp TerScorer.cpp CderScorer.cpp MergeScorer.cpp +Vocabulary.cpp ../util//kenutil m ..//z ; exe mert : mert.cpp mert_lib ../moses/src//ThreadPool ; @@ -54,6 +55,7 @@ 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 optimizer_factory_test : OptimizerFactoryTest.cpp mert_lib ..//boost_unit_test_framework ; unit-test reference_test : ReferenceTest.cpp mert_lib ..//boost_unit_test_framework ; +unit-test singleton_test : SingletonTest.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 ; unit-test vocabulary_test : VocabularyTest.cpp mert_lib ..//boost_unit_test_framework ; |