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>2015-02-06 04:30:00 +0300
committerUlrich Germann <ugermann@inf.ed.ac.uk>2015-02-06 04:30:00 +0300
commitbe5799dca34027849fc40a38a63459e164f27add (patch)
tree140e865a962c546c12e2322ab76a56699e7338c6 /moses/SearchNormal.cpp
parent80a9f84422f3b7ce3ddf0bcfcbe2e8d06bba9e98 (diff)
parent8b61f396a7558bf628c2e94a9583023b9ae34a8c (diff)
Merge branch 'master' of https://github.com/moses-smt/mosesdecoder
Conflicts: moses/TranslationOptionCollection.cpp moses/TranslationOptionCollectionLattice.cpp moses/TranslationOptionCollectionLattice.h moses/TranslationOptionList.h
Diffstat (limited to 'moses/SearchNormal.cpp')
-rw-r--r--moses/SearchNormal.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/moses/SearchNormal.cpp b/moses/SearchNormal.cpp
index 2314d85f7..786b554c6 100644
--- a/moses/SearchNormal.cpp
+++ b/moses/SearchNormal.cpp
@@ -49,7 +49,7 @@ SearchNormal::~SearchNormal()
* Main decoder loop that translates a sentence by expanding
* hypotheses stack by stack, until the end of the sentence.
*/
-void SearchNormal::ProcessSentence()
+void SearchNormal::Decode()
{
const StaticData &staticData = StaticData::Instance();
SentenceStats &stats = m_manager.GetSentenceStats();
@@ -397,13 +397,13 @@ void SearchNormal::OutputHypoStackSize()
void SearchNormal::OutputHypoStack()
{
- // all stacks
- int i = 0;
- vector < HypothesisStack* >::iterator iterStack;
- for (iterStack = m_hypoStackColl.begin() ; iterStack != m_hypoStackColl.end() ; ++iterStack) {
- HypothesisStackNormal &hypoColl = *static_cast<HypothesisStackNormal*>(*iterStack);
- TRACE_ERR( "Stack " << i++ << ": " << endl << hypoColl << endl);
- }
+ // all stacks
+ int i = 0;
+ vector < HypothesisStack* >::iterator iterStack;
+ for (iterStack = m_hypoStackColl.begin() ; iterStack != m_hypoStackColl.end() ; ++iterStack) {
+ HypothesisStackNormal &hypoColl = *static_cast<HypothesisStackNormal*>(*iterStack);
+ TRACE_ERR( "Stack " << i++ << ": " << endl << hypoColl << endl);
+ }
}
}