diff options
author | Phil Williams <philip.williams@mac.com> | 2015-02-12 16:03:26 +0300 |
---|---|---|
committer | Phil Williams <philip.williams@mac.com> | 2015-02-12 16:03:26 +0300 |
commit | 33df7fd2b4d41f7c80164c91d768a88dbc040cc3 (patch) | |
tree | 5d5e9e9ceaf2f983a14ba536b6abeec587897948 /moses/TypeDef.h | |
parent | e1d60211a4b14a3f7eb090aaa70e0293ecec2437 (diff) |
Rename StaticData::IsChart() to IsSyntax() and add new SearchAlgorithm values
Diffstat (limited to 'moses/TypeDef.h')
-rw-r--r-- | moses/TypeDef.h | 3 |
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 |