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:
authorHieu Hoang <hieuhoang@gmail.com>2017-04-26 15:16:58 +0300
committerHieu Hoang <hieuhoang@gmail.com>2017-04-26 15:16:58 +0300
commitd3106b9d5af610c9294aa63226c978974ee96c92 (patch)
treeda7f2f1843e12b57b428977fb17bbe60999d8aa3
parent80791d1767db8560892b6414721b4ac1cbb1158b (diff)
rename Skeleton... to Example...
-rw-r--r--contrib/other-builds/moses/.project5
-rw-r--r--moses/FF/ExampleTranslationOptionListFeature.h (renamed from moses/FF/SkeletonTranslationOptionListFeature.h)4
-rw-r--r--moses/FF/Factory.cpp8
3 files changed, 11 insertions, 6 deletions
diff --git a/contrib/other-builds/moses/.project b/contrib/other-builds/moses/.project
index 68caf84b3..a57a9df90 100644
--- a/contrib/other-builds/moses/.project
+++ b/contrib/other-builds/moses/.project
@@ -1221,6 +1221,11 @@
<locationURI>PARENT-3-PROJECT_LOC/moses/FF/ExampleStatelessFF.h</locationURI>
</link>
<link>
+ <name>FF/ExampleTranslationOptionListFeature.h</name>
+ <type>1</type>
+ <locationURI>PARENT-3-PROJECT_LOC/moses/FF/ExampleTranslationOptionListFeature.h</locationURI>
+ </link>
+ <link>
<name>FF/FFState.cpp</name>
<type>1</type>
<locationURI>PARENT-3-PROJECT_LOC/moses/FF/FFState.cpp</locationURI>
diff --git a/moses/FF/SkeletonTranslationOptionListFeature.h b/moses/FF/ExampleTranslationOptionListFeature.h
index e47e691aa..7686eb3ff 100644
--- a/moses/FF/SkeletonTranslationOptionListFeature.h
+++ b/moses/FF/ExampleTranslationOptionListFeature.h
@@ -6,10 +6,10 @@
namespace Moses
{
-class SkeletonTranslationOptionListFeature : public StatelessFeatureFunction
+class ExampleTranslationOptionListFeature : public StatelessFeatureFunction
{
public:
- SkeletonTranslationOptionListFeature(const std::string &line)
+ ExampleTranslationOptionListFeature(const std::string &line)
:StatelessFeatureFunction(1, line) {
ReadParameters();
}
diff --git a/moses/FF/Factory.cpp b/moses/FF/Factory.cpp
index de184ee04..398d6593c 100644
--- a/moses/FF/Factory.cpp
+++ b/moses/FF/Factory.cpp
@@ -68,13 +68,13 @@
#include "moses/FF/ExampleStatelessFF.h"
#include "moses/FF/ExampleStatefulFF.h"
#include "moses/LM/ExampleLM.h"
-#include "moses/LM/InMemoryPerSentenceOnDemandLM.h"
-#include "moses/FF/SkeletonTranslationOptionListFeature.h"
+#include "moses/FF/ExampleTranslationOptionListFeature.h"
#include "moses/LM/BilingualLM.h"
#include "moses/TranslationModel/ExamplePT.h"
#include "moses/Syntax/InputWeightFF.h"
#include "moses/Syntax/RuleTableFF.h"
+#include "moses/LM/InMemoryPerSentenceOnDemandLM.h"
#include "moses/FF/EditOps.h"
#include "moses/FF/CorrectionPattern.h"
@@ -300,10 +300,10 @@ FeatureRegistry::FeatureRegistry()
MOSES_FNAME(ExampleStatelessFF);
MOSES_FNAME(ExampleStatefulFF);
MOSES_FNAME(ExampleLM);
- MOSES_FNAME(InMemoryPerSentenceOnDemandLM);
- MOSES_FNAME(SkeletonTranslationOptionListFeature);
+ MOSES_FNAME(ExampleTranslationOptionListFeature);
MOSES_FNAME(ExamplePT);
+ MOSES_FNAME(InMemoryPerSentenceOnDemandLM);
MOSES_FNAME(EditOps);
MOSES_FNAME(CorrectionPattern);