Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieu@hoang.co.uk>2013-05-30 22:20:54 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-05-30 22:20:54 +0400
commit47902053b53d1b1af545c25356f0271a70fc55c2 (patch)
tree885822551605190d5c48c2c2bf33acbced716e4e /moses/FeatureVector.h
parent117eb76b0a0eb9563028206a547f8bf3e6e43fb2 (diff)
function to merge feature scores. ie. not add them together.
Diffstat (limited to 'moses/FeatureVector.h')
-rw-r--r--moses/FeatureVector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/moses/FeatureVector.h b/moses/FeatureVector.h
index f4261b520..65fd12081 100644
--- a/moses/FeatureVector.h
+++ b/moses/FeatureVector.h
@@ -257,6 +257,8 @@ public:
// divide each element by the number given in the rhs vector
FVector& divideEquals(const FVector& rhs);
+ void merge(const FVector &other);
+
#ifdef MPI_ENABLE
friend class boost::serialization::access;
#endif