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:
Diffstat (limited to 'moses/TranslationModel/PhraseDictionaryNodeMemory.h')
-rw-r--r--moses/TranslationModel/PhraseDictionaryNodeMemory.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/TranslationModel/PhraseDictionaryNodeMemory.h b/moses/TranslationModel/PhraseDictionaryNodeMemory.h
index 29defe71f..8608b90a1 100644
--- a/moses/TranslationModel/PhraseDictionaryNodeMemory.h
+++ b/moses/TranslationModel/PhraseDictionaryNodeMemory.h
@@ -134,9 +134,9 @@ private:
public:
- PhraseDictionaryNodeMemory()
+ PhraseDictionaryNodeMemory()
: m_targetPhraseCollection(new TargetPhraseCollection) { }
-
+
bool IsLeaf() const {
return m_sourceTermMap.empty() && m_nonTermMap.empty();
}
@@ -153,11 +153,11 @@ public:
const PhraseDictionaryNodeMemory *GetChild(const Word &sourceNonTerm, const Word &targetNonTerm) const;
#endif
- TargetPhraseCollection::shared_ptr
+ TargetPhraseCollection::shared_ptr
GetTargetPhraseCollection() const {
return m_targetPhraseCollection;
}
- TargetPhraseCollection::shared_ptr
+ TargetPhraseCollection::shared_ptr
GetTargetPhraseCollection() {
return m_targetPhraseCollection;
}