mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 21:42:19 +03:00
28 lines
397 B
C++
28 lines
397 B
C++
#ifndef MERT_SCORER_FACTORY_H_
|
|
#define MERT_SCORER_FACTORY_H_
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
namespace MosesTuning
|
|
{
|
|
|
|
|
|
class Scorer;
|
|
|
|
class ScorerFactory
|
|
{
|
|
public:
|
|
static std::vector<std::string> getTypes();
|
|
|
|
static Scorer* getScorer(const std::string& type, const std::string& config = "");
|
|
|
|
private:
|
|
ScorerFactory() {}
|
|
~ScorerFactory() {}
|
|
};
|
|
|
|
}
|
|
|
|
#endif // MERT_SCORER_FACTORY_H_
|