summaryrefslogtreecommitdiff
path: root/vest/aer_scorer.h
diff options
context:
space:
mode:
Diffstat (limited to 'vest/aer_scorer.h')
-rw-r--r--vest/aer_scorer.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/vest/aer_scorer.h b/vest/aer_scorer.h
deleted file mode 100644
index 6d53d359..00000000
--- a/vest/aer_scorer.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef _AER_SCORER_
-#define _AER_SCORER_
-
-#include <boost/shared_ptr.hpp>
-
-#include "scorer.h"
-#include "array2d.h"
-
-class AERScorer : public SentenceScorer {
- public:
- // when constructing alignment strings from a hypergraph, the source
- // is necessary.
- AERScorer(const std::vector<std::vector<WordID> >& refs, const std::string& src = "");
- ScoreP ScoreCandidate(const std::vector<WordID>& hyp) const;
- ScoreP ScoreCCandidate(const std::vector<WordID>& hyp) const;
- static ScoreP ScoreFromString(const std::string& in);
- const std::string* GetSource() const;
- private:
- std::string src_;
- boost::shared_ptr<Array2D<bool> > ref_;
-};
-
-#endif