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:
authorUlrich Germann <ugermann@inf.ed.ac.uk>2014-03-25 05:49:24 +0400
committerUlrich Germann <ugermann@inf.ed.ac.uk>2014-03-25 05:49:24 +0400
commitf63606a92beb3519b4543cd1f5b8cf1c1bcc313d (patch)
treede9c658940f5f3f598e498d167bfcd7dd387a4e4 /moses/InputPath.cpp
parent80b031769d0b9b0405ed1af58e2c5e21a1b6d612 (diff)
1. Renamed PhraseDictionary member function release() to Release().
2. Added option to check phrase prefixes for early stopping of InputPath generation when translating confusion networks.
Diffstat (limited to 'moses/InputPath.cpp')
-rw-r--r--moses/InputPath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/InputPath.cpp b/moses/InputPath.cpp
index 7a6464aac..f96dc14bf 100644
--- a/moses/InputPath.cpp
+++ b/moses/InputPath.cpp
@@ -33,7 +33,7 @@ InputPath::~InputPath()
typedef std::pair<const TargetPhraseCollection*, const void* > entry;
std::map<const PhraseDictionary*, entry>::const_iterator iter;
for (iter = m_targetPhrases.begin(); iter != m_targetPhrases.end(); ++iter)
- iter->first->release(iter->second.first);
+ iter->first->Release(iter->second.first);
delete m_inputScore;
}