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 | e1ffc4886b98f7ddcd2ec30d740aa2de8282cd8e (patch) | |
tree | ca51b9fc3b61f4177caaef467c9add26737cfc49 /extractor/scorer.h | |
parent | a283adae755aa8617119afb283b9b874f64cf911 (diff) |
Namespace for extractor.
Diffstat (limited to 'extractor/scorer.h')
-rw-r--r-- | extractor/scorer.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/extractor/scorer.h b/extractor/scorer.h index ba71a6ee..c31db0ca 100644 --- a/extractor/scorer.h +++ b/extractor/scorer.h @@ -7,16 +7,20 @@ using namespace std; -class Feature; -class FeatureContext; +namespace extractor { + +namespace features { + class Feature; + class FeatureContext; +} // namespace features class Scorer { public: - Scorer(const vector<shared_ptr<Feature> >& features); + Scorer(const vector<shared_ptr<features::Feature> >& features); virtual ~Scorer(); - virtual vector<double> Score(const FeatureContext& context) const; + virtual vector<double> Score(const features::FeatureContext& context) const; virtual vector<string> GetFeatureNames() const; @@ -24,7 +28,9 @@ class Scorer { Scorer(); private: - vector<shared_ptr<Feature> > features; + vector<shared_ptr<features::Feature> > features; }; +} // namespace extractor + #endif |