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 <hieuhoang@gmail.com>2013-08-15 23:20:44 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-08-15 23:20:44 +0400
commit841ce108a5258117920289448b57abe684375348 (patch)
tree372e9bdc018d45f04c5d77b4f14a05c75d4de8b4 /moses/TargetPhraseCollection.h
parent5fa6e506b1b3c3a0c4d9d3ebc9271bd306864085 (diff)
add phrase table caching
Diffstat (limited to 'moses/TargetPhraseCollection.h')
-rw-r--r--moses/TargetPhraseCollection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/moses/TargetPhraseCollection.h b/moses/TargetPhraseCollection.h
index 99effcfc8..bc5233091 100644
--- a/moses/TargetPhraseCollection.h
+++ b/moses/TargetPhraseCollection.h
@@ -57,6 +57,11 @@ public:
return m_collection.end();
}
+ TargetPhraseCollection()
+ {}
+
+ explicit TargetPhraseCollection(const TargetPhraseCollection &copy);
+
~TargetPhraseCollection() {
Remove();
}