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:
Diffstat (limited to 'scripts/training/phrase-extract.5/Global.cpp')
-rw-r--r--scripts/training/phrase-extract.5/Global.cpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/scripts/training/phrase-extract.5/Global.cpp b/scripts/training/phrase-extract.5/Global.cpp
new file mode 100644
index 000000000..e6fa5f343
--- /dev/null
+++ b/scripts/training/phrase-extract.5/Global.cpp
@@ -0,0 +1,35 @@
+/*
+ * Global.cpp
+ * extract
+ *
+ * Created by Hieu Hoang on 01/02/2010.
+ * Copyright 2010 __MyCompanyName__. All rights reserved.
+ *
+ */
+
+#include "Global.h"
+
+bool g_debug = false;
+
+Global::Global()
+: minHoleSpanSourceDefault(2)
+, maxHoleSpanSourceDefault(7)
+, minHoleSpanSourceSyntax(1)
+, maxHoleSpanSourceSyntax(1000)
+, maxUnaligned(5)
+
+, maxSymbolsSource(5)
+, maxNonTerm(3)
+, maxNonTermDefault(2)
+
+// int minHoleSize(1)
+// int minSubPhraseSize(1) // minimum size of a remaining lexical phrase
+, glueGrammarFlag(false)
+, unknownWordLabelFlag(false)
+//bool zipFiles(false)
+, sourceSyntax(true)
+, targetSyntax(false)
+, mixed(true)
+, uppermostOnly(true)
+
+{}