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/FF/FeatureFunction.cpp')
-rw-r--r--moses/FF/FeatureFunction.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/moses/FF/FeatureFunction.cpp b/moses/FF/FeatureFunction.cpp
index fcce15c4d..298a9e65c 100644
--- a/moses/FF/FeatureFunction.cpp
+++ b/moses/FF/FeatureFunction.cpp
@@ -38,10 +38,10 @@ void FeatureFunction::Destroy()
RemoveAllInColl(s_staticColl);
}
-// The original declaration as
+// The original declaration as
// void FeatureFunction::CallChangeSource(InputType *&input)
-// had me a bit perplexed. Would you really want to allow
-// any feature function to replace the InputType behind the
+// had me a bit perplexed. Would you really want to allow
+// any feature function to replace the InputType behind the
// back of the others? And change what the vector is pointing to?
void FeatureFunction::CallChangeSource(InputType * const&input)
@@ -190,17 +190,17 @@ void FeatureFunction::SetTuneableComponents(const std::string& value)
}
}
-void
+void
FeatureFunction
::InitializeForInput(ttasksptr const& ttask)
{ InitializeForInput(*(ttask->GetSource().get())); }
-void
+void
FeatureFunction
-::CleanUpAfterSentenceProcessing(ttasksptr const& ttask)
+::CleanUpAfterSentenceProcessing(ttasksptr const& ttask)
{ CleanUpAfterSentenceProcessing(*(ttask->GetSource().get())); }
-size_t
+size_t
FeatureFunction
::GetIndex() const
{ return m_index; }
@@ -208,9 +208,9 @@ FeatureFunction
/// set index
// @return index of the next FF
-size_t
+size_t
FeatureFunction
-::SetIndex(size_t const idx)
+::SetIndex(size_t const idx)
{
m_index = idx;
return this->GetNumScoreComponents() + idx;