00001 #ifndef MERT_SCORER_FACTORY_H_
00002 #define MERT_SCORER_FACTORY_H_
00003
00004 #include <vector>
00005 #include <string>
00006
00007 namespace MosesTuning
00008 {
00009
00010
00011 class Scorer;
00012
00013 class ScorerFactory
00014 {
00015 public:
00016 static std::vector<std::string> getTypes();
00017
00018 static Scorer* getScorer(const std::string& type, const std::string& config = "");
00019
00020 private:
00021 ScorerFactory() {}
00022 ~ScorerFactory() {}
00023 };
00024
00025 }
00026
00027 #endif // MERT_SCORER_FACTORY_H_