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.6/Global.h')
-rw-r--r--scripts/training/phrase-extract.6/Global.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/scripts/training/phrase-extract.6/Global.h b/scripts/training/phrase-extract.6/Global.h
new file mode 100644
index 000000000..181834ee8
--- /dev/null
+++ b/scripts/training/phrase-extract.6/Global.h
@@ -0,0 +1,43 @@
+#pragma once
+/*
+ * Global.h
+ * extract
+ *
+ * Created by Hieu Hoang on 01/02/2010.
+ * Copyright 2010 __MyCompanyName__. All rights reserved.
+ *
+ */
+#include <set>
+#include <map>
+#include <string>
+
+class Global
+{
+public:
+ int minHoleSpanSourceDefault;
+ int maxHoleSpanSourceDefault;
+ int minHoleSpanSourceSyntax;
+ int maxHoleSpanSourceSyntax;
+
+ int maxSymbolsSource;
+ bool glueGrammarFlag;
+ bool unknownWordLabelFlag;
+ int maxNonTerm;
+ int maxNonTermDefault;
+ bool sourceSyntax;
+ bool targetSyntax;
+ bool mixed;
+ int maxUnaligned;
+ bool uppermostOnly;
+
+ Global();
+
+ Global(const Global&);
+
+};
+
+extern bool g_debug;
+
+#define DEBUG_OUTPUT() void DebugOutput() const;
+
+