diff options
Diffstat (limited to 'extractor/target_phrase_extractor.h')
-rw-r--r-- | extractor/target_phrase_extractor.h | 8 |
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 |