diff options
author | Paul Baltescu <pauldb89@gmail.com> | 2013-03-06 15:25:54 +0000 |
---|---|---|
committer | Paul Baltescu <pauldb89@gmail.com> | 2013-03-06 15:25:54 +0000 |
commit | ab5367aa2c42126a04034cd7d3cec125bca399ca (patch) | |
tree | 9698d9d23ed7618554c61624f8899eb8ba9b3b09 /extractor/rule_extractor.h | |
parent | 245e705ac7b6fca80a7aa4898f5467053ec2c585 (diff) |
Namespace for extractor.
Diffstat (limited to 'extractor/rule_extractor.h')
-rw-r--r-- | extractor/rule_extractor.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/extractor/rule_extractor.h b/extractor/rule_extractor.h index a087dc6d..8b6daeea 100644 --- a/extractor/rule_extractor.h +++ b/extractor/rule_extractor.h @@ -9,6 +9,10 @@ using namespace std; +namespace extractor { + +typedef vector<pair<int, int> > PhraseAlignment; + class Alignment; class DataArray; class PhraseBuilder; @@ -18,8 +22,6 @@ class RuleExtractorHelper; class Scorer; class TargetPhraseExtractor; -typedef vector<pair<int, int> > PhraseAlignment; - struct Extract { Extract(const Phrase& source_phrase, const Phrase& target_phrase, double pairs_count, const PhraseAlignment& alignment) : @@ -101,4 +103,6 @@ class RuleExtractor { bool require_tight_phrases; }; +} // namespace extractor + #endif |