mosesdecoder/mert/ScorerFactory.h

28 lines
397 B
C
Raw Permalink Normal View History

#ifndef MERT_SCORER_FACTORY_H_
#define MERT_SCORER_FACTORY_H_
#include <vector>
#include <string>
namespace MosesTuning
{
2013-05-29 21:16:15 +04:00
class Scorer;
class ScorerFactory
{
public:
static std::vector<std::string> getTypes();
static Scorer* getScorer(const std::string& type, const std::string& config = "");
2011-11-11 15:40:59 +04:00
private:
ScorerFactory() {}
~ScorerFactory() {}
};
}
#endif // MERT_SCORER_FACTORY_H_