summaryrefslogtreecommitdiff
path: root/extractor/target_phrase_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/target_phrase_extractor.h
parent245e705ac7b6fca80a7aa4898f5467053ec2c585 (diff)
Namespace for extractor.
Diffstat (limited to 'extractor/target_phrase_extractor.h')
-rw-r--r--extractor/target_phrase_extractor.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/extractor/target_phrase_extractor.h b/extractor/target_phrase_extractor.h
index 134f24cc..a4b54145 100644
--- a/extractor/target_phrase_extractor.h
+++ b/extractor/target_phrase_extractor.h
@@ -7,6 +7,10 @@
using namespace std;
+namespace extractor {
+
+typedef vector<pair<int, int> > PhraseAlignment;
+
class Alignment;
class DataArray;
class Phrase;
@@ -14,8 +18,6 @@ class PhraseBuilder;
class RuleExtractorHelper;
class Vocabulary;
-typedef vector<pair<int, int> > PhraseAlignment;
-
class TargetPhraseExtractor {
public:
TargetPhraseExtractor(shared_ptr<DataArray> target_data_array,
@@ -53,4 +55,6 @@ class TargetPhraseExtractor {
bool require_tight_phrases;
};
+} // namespace extractor
+
#endif