diff options
author | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2014-03-25 05:49:24 +0400 |
---|---|---|
committer | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2014-03-25 05:49:24 +0400 |
commit | f63606a92beb3519b4543cd1f5b8cf1c1bcc313d (patch) | |
tree | de9c658940f5f3f598e498d167bfcd7dd387a4e4 /moses/InputPath.cpp | |
parent | 80b031769d0b9b0405ed1af58e2c5e21a1b6d612 (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.cpp | 2 |
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; } |