rename Skeleton... to Example...

This commit is contained in:
Hieu Hoang 2017-04-26 13:16:58 +01:00
parent 80791d1767
commit d3106b9d5a
3 changed files with 11 additions and 6 deletions

View File

@ -1220,6 +1220,11 @@
<type>1</type>
<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>

View File

@ -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();
}

View File

@ -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);