diff options
author | Barry Haddow <barry.haddow@gmail.com> | 2012-07-17 16:36:50 +0400 |
---|---|---|
committer | Barry Haddow <barry.haddow@gmail.com> | 2012-07-17 16:36:50 +0400 |
commit | 2b4e61d8261510732ac53eaf48a73e6198b77c2b (patch) | |
tree | feeba83dd2c24530d5e069f0089803d77ebfc9cb /mert/FeatureStats.cpp | |
parent | f592c222fec19e41fcfb9c059c81de2077b971fe (diff) | |
parent | 6a94f740197ac3eff812dcf5d4bbf658eea02d5d (diff) |
Merge branch 'trunk' into miramerge
Compiles, not tested.
Conflicts:
Jamroot
OnDiskPt/PhraseNode.h
OnDiskPt/TargetPhrase.cpp
OnDiskPt/TargetPhrase.h
OnDiskPt/TargetPhraseCollection.cpp
mert/BleuScorer.cpp
mert/Data.cpp
mert/FeatureData.cpp
moses-chart-cmd/src/Main.cpp
moses/src/AlignmentInfo.h
moses/src/ChartManager.cpp
moses/src/LM/Ken.cpp
moses/src/LM/Ken.h
moses/src/LMList.h
moses/src/LexicalReordering.h
moses/src/PhraseDictionaryTree.h
moses/src/ScoreIndexManager.h
moses/src/StaticData.h
moses/src/TargetPhrase.h
moses/src/Word.cpp
scripts/ems/experiment.meta
scripts/ems/experiment.perl
scripts/training/train-model.perl
Diffstat (limited to 'mert/FeatureStats.cpp')
-rw-r--r-- | mert/FeatureStats.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mert/FeatureStats.cpp b/mert/FeatureStats.cpp index 834b63b4c..22f62e234 100644 --- a/mert/FeatureStats.cpp +++ b/mert/FeatureStats.cpp @@ -22,6 +22,10 @@ namespace { const int kAvailableSize = 8; } // namespace +namespace MosesTuning +{ + + SparseVector::name2id_t SparseVector::m_name_to_id; SparseVector::id2name_t SparseVector::m_id_to_name; @@ -294,7 +298,6 @@ ostream& operator<<(ostream& o, const FeatureStats& e) return o; } -//ADEED_BY_TS bool operator==(const FeatureStats& f1, const FeatureStats& f2) { size_t size = f1.size(); @@ -308,4 +311,5 @@ bool operator==(const FeatureStats& f1, const FeatureStats& f2) { return true; } -//END_ADDED + +} |