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 <hieu@hoang.co.uk>2013-05-24 19:04:38 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-05-24 19:04:38 +0400
commitd2738122315fb7185a69001d281db66be0a0d6fc (patch)
treea54d4d679d51567ac21e20588cb6b8f5c0fb3ddb /moses/TypeDef.h
parent78591e53e450ed5659d7ed26024acac7bd9756f2 (diff)
delete enum StatelessFeatureType. Features can be multiple types at once. Just overload the Evaluate() function you need
Diffstat (limited to 'moses/TypeDef.h')
-rw-r--r--moses/TypeDef.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/moses/TypeDef.h b/moses/TypeDef.h
index 58b56b713..e44946a2f 100644
--- a/moses/TypeDef.h
+++ b/moses/TypeDef.h
@@ -175,15 +175,6 @@ enum FormatType
,HieroFormat
};
-enum StatelessFeatureType
-{
- SetByOriginator // The scores are set by the phrase table, generatio table, or unknown word handler
- // They shouldn't be subsequently evaluated.
- ,RequiresTargetPhrase // Default. simplest, but not in phrase-table. eg. word penalty
- ,RequiresSource // can't be pre-computed during training, but can be computed before search.eg. source bag-of-word features
- ,RequiresSegmentation // can't be pre-computed. Depends on segmentation during search. eg. span-length feature
-};
-
// typedef
typedef size_t FactorType;