summaryrefslogtreecommitdiff
path: root/extractor/features/max_lex_source_given_target.cc
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/features/max_lex_source_given_target.cc
parent245e705ac7b6fca80a7aa4898f5467053ec2c585 (diff)
Namespace for extractor.
Diffstat (limited to 'extractor/features/max_lex_source_given_target.cc')
-rw-r--r--extractor/features/max_lex_source_given_target.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/extractor/features/max_lex_source_given_target.cc b/extractor/features/max_lex_source_given_target.cc
index 21f5c76a..3ffe598c 100644
--- a/extractor/features/max_lex_source_given_target.cc
+++ b/extractor/features/max_lex_source_given_target.cc
@@ -5,6 +5,9 @@
#include "../data_array.h"
#include "../translation_table.h"
+namespace extractor {
+namespace features {
+
MaxLexSourceGivenTarget::MaxLexSourceGivenTarget(
shared_ptr<TranslationTable> table) :
table(table) {}
@@ -29,3 +32,6 @@ double MaxLexSourceGivenTarget::Score(const FeatureContext& context) const {
string MaxLexSourceGivenTarget::GetName() const {
return "MaxLexFgivenE";
}
+
+} // namespace features
+} // namespace extractor