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 | ab5367aa2c42126a04034cd7d3cec125bca399ca (patch) | |
| tree | 9698d9d23ed7618554c61624f8899eb8ba9b3b09 /extractor/scorer.h | |
| parent | 245e705ac7b6fca80a7aa4898f5467053ec2c585 (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 | 
