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>2013-09-26 01:07:31 +0400
committerUlrich Germann <ugermann@inf.ed.ac.uk>2013-09-26 01:07:31 +0400
commit94d10734f9d0bc07ddcb689055d3b99b24c0fa54 (patch)
tree79bccd7216ba1fcad0a3802bda034061bbbdd011 /moses/SearchNormal.cpp
parent5b18448277c1748eac3cc861ebe9a06c4794e742 (diff)
Formatting. Commented out unused variables.
Diffstat (limited to 'moses/SearchNormal.cpp')
-rw-r--r--moses/SearchNormal.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/moses/SearchNormal.cpp b/moses/SearchNormal.cpp
index dc7c495f4..ab435e7c8 100644
--- a/moses/SearchNormal.cpp
+++ b/moses/SearchNormal.cpp
@@ -24,13 +24,14 @@ SearchNormal::SearchNormal(Manager& manager, const InputType &source, const Tran
const StaticData &staticData = StaticData::Instance();
// only if constraint decoding (having to match a specified output)
- long sentenceID = source.GetTranslationId();
+ // long sentenceID = source.GetTranslationId();
// initialize the stacks: create data structure and set limits
std::vector < HypothesisStackNormal >::iterator iterStack;
for (size_t ind = 0 ; ind < m_hypoStackColl.size() ; ++ind) {
HypothesisStackNormal *sourceHypoColl = new HypothesisStackNormal(m_manager);
- sourceHypoColl->SetMaxHypoStackSize(staticData.GetMaxHypoStackSize(),staticData.GetMinHypoStackDiversity());
+ sourceHypoColl->SetMaxHypoStackSize(staticData.GetMaxHypoStackSize(),
+ staticData.GetMinHypoStackDiversity());
sourceHypoColl->SetBeamWidth(staticData.GetBeamWidth());
m_hypoStackColl[ind] = sourceHypoColl;