Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ScorerFactory.h « mert - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b93db30243e028b9ed6921f4aff587536b49a8cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#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_