summaryrefslogtreecommitdiff
path: root/extractor/grammar_extractor.h
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-03-06 15:25:54 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-03-06 15:25:54 +0000
commitab5367aa2c42126a04034cd7d3cec125bca399ca (patch)
tree9698d9d23ed7618554c61624f8899eb8ba9b3b09 /extractor/grammar_extractor.h
parent245e705ac7b6fca80a7aa4898f5467053ec2c585 (diff)
Namespace for extractor.
Diffstat (limited to 'extractor/grammar_extractor.h')
-rw-r--r--extractor/grammar_extractor.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/extractor/grammar_extractor.h b/extractor/grammar_extractor.h
index f50a8d14..6b1dcf98 100644
--- a/extractor/grammar_extractor.h
+++ b/extractor/grammar_extractor.h
@@ -1,18 +1,21 @@
#ifndef _GRAMMAR_EXTRACTOR_H_
#define _GRAMMAR_EXTRACTOR_H_
+#include <memory>
#include <string>
#include <vector>
-#include "rule_factory.h"
-
using namespace std;
+namespace extractor {
+
class Alignment;
class DataArray;
class Grammar;
+class HieroCachingRuleFactory;
class Precomputation;
class Rule;
+class Scorer;
class SuffixArray;
class Vocabulary;
@@ -46,4 +49,6 @@ class GrammarExtractor {
shared_ptr<HieroCachingRuleFactory> rule_factory;
};
+} // namespace extractor
+
#endif