mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +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_
|