summaryrefslogtreecommitdiff
path: root/extractor/features/feature.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
commite1ffc4886b98f7ddcd2ec30d740aa2de8282cd8e (patch)
treeca51b9fc3b61f4177caaef467c9add26737cfc49 /extractor/features/feature.h
parenta283adae755aa8617119afb283b9b874f64cf911 (diff)
Namespace for extractor.
Diffstat (limited to 'extractor/features/feature.h')
-rw-r--r--extractor/features/feature.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/extractor/features/feature.h b/extractor/features/feature.h
index aca58401..de2827bc 100644
--- a/extractor/features/feature.h
+++ b/extractor/features/feature.h
@@ -8,6 +8,9 @@
using namespace std;
+namespace extractor {
+namespace features {
+
struct FeatureContext {
FeatureContext(const Phrase& source_phrase, const Phrase& target_phrase,
double source_phrase_count, int pair_count, int num_samples) :
@@ -33,4 +36,7 @@ class Feature {
static const double MAX_SCORE;
};
+} // namespace features
+} // namespace extractor
+
#endif