summaryrefslogtreecommitdiff
path: root/mteval/external_scorer.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@Chriss-MacBook-Air.local>2013-11-25 00:14:16 -0500
committerChris Dyer <cdyer@Chriss-MacBook-Air.local>2013-11-25 00:14:16 -0500
commitcdb7f2b26e717bbfe84dbd73f949c6b06ca2b2d7 (patch)
tree9d845458299fd0f16de20a0f3dbe07cf7dc3e918 /mteval/external_scorer.h
parentf2fb69b10a897e8beb4e6e6d6cbb4327096235ef (diff)
remove dead code, add adagrad crf learner
Diffstat (limited to 'mteval/external_scorer.h')
-rw-r--r--mteval/external_scorer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mteval/external_scorer.h b/mteval/external_scorer.h
index a28fb920..85535655 100644
--- a/mteval/external_scorer.h
+++ b/mteval/external_scorer.h
@@ -24,7 +24,8 @@ class ScoreServer {
int c2p[2];
};
-struct ScoreServerManager {
+class ScoreServerManager {
+ public:
static ScoreServer* Instance(const std::string& score_type);
private:
static std::map<std::string, boost::shared_ptr<ScoreServer> > servers_;