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/Syntax/T2S/RuleTrie.h')
-rw-r--r--moses/Syntax/T2S/RuleTrie.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/moses/Syntax/T2S/RuleTrie.h b/moses/Syntax/T2S/RuleTrie.h
index f9d857088..16b9e735f 100644
--- a/moses/Syntax/T2S/RuleTrie.h
+++ b/moses/Syntax/T2S/RuleTrie.h
@@ -53,13 +53,13 @@ public:
const Node *GetChild(const Word &sourceTerm) const;
const Node *GetNonTerminalChild(const Word &targetNonTerm) const;
- TargetPhraseCollection::shared_ptr
+ TargetPhraseCollection::shared_ptr
GetTargetPhraseCollection(const Word &sourceLHS) const {
TPCMap::const_iterator p = m_targetPhraseCollections.find(sourceLHS);
- if (p != m_targetPhraseCollections.end())
- return p->second;
+ if (p != m_targetPhraseCollections.end())
+ return p->second;
else
- return TargetPhraseCollection::shared_ptr();
+ return TargetPhraseCollection::shared_ptr();
}
// FIXME IS there any reason to distinguish these two for T2S?
@@ -86,7 +86,7 @@ public:
private:
friend class RuleTrieCreator;
- TargetPhraseCollection::shared_ptr
+ TargetPhraseCollection::shared_ptr
GetOrCreateTargetPhraseCollection
(const Word &sourceLHS, const Phrase &sourceRHS);