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:
authorPhil Williams <philip.williams@mac.com>2015-02-12 16:03:26 +0300
committerPhil Williams <philip.williams@mac.com>2015-02-12 16:03:26 +0300
commit33df7fd2b4d41f7c80164c91d768a88dbc040cc3 (patch)
tree5d5e9e9ceaf2f983a14ba536b6abeec587897948 /moses/TypeDef.h
parente1d60211a4b14a3f7eb090aaa70e0293ecec2437 (diff)
Rename StaticData::IsChart() to IsSyntax() and add new SearchAlgorithm values
Diffstat (limited to 'moses/TypeDef.h')
-rw-r--r--moses/TypeDef.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/moses/TypeDef.h b/moses/TypeDef.h
index a56b3fbac..a619639bc 100644
--- a/moses/TypeDef.h
+++ b/moses/TypeDef.h
@@ -140,6 +140,9 @@ enum DictionaryFind {
,All = 1
};
+// Note: StaticData uses SearchAlgorithm to determine whether the translation
+// model is phrase-based or syntax-based. If you add a syntax-based search
+// algorithm here then you should also update StaticData::IsSyntax().
enum SearchAlgorithm {
Normal = 0
,CubePruning = 1