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: f6054c770db5c46914f4f82bb3654502b5afb76b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __SCORER_FACTORY_H
#define __SCORER_FACTORY_H

#include <vector>
#include <string>

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  // __SCORER_FACTORY_H