mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
29c16d252a
Should use it in .cpp files.
22 lines
356 B
C++
22 lines
356 B
C++
#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
|