summaryrefslogtreecommitdiff
path: root/extractor/scorer.h
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/scorer.h')
-rw-r--r--extractor/scorer.h16
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