diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-24 19:04:38 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-24 19:04:38 +0400 |
commit | d2738122315fb7185a69001d281db66be0a0d6fc (patch) | |
tree | a54d4d679d51567ac21e20588cb6b8f5c0fb3ddb /moses/TypeDef.h | |
parent | 78591e53e450ed5659d7ed26024acac7bd9756f2 (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.h | 9 |
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; |