mosesdecoder/contrib/other-builds/moses2/Scores.h

25 lines
391 B
C
Raw Normal View History

2015-10-23 22:53:36 +03:00
/*
* Scores.h
*
* Created on: 23 Oct 2015
* Author: hieu
*/
#pragma once
2015-10-24 04:02:50 +03:00
#include <string>
2015-10-23 22:53:36 +03:00
#include "TypeDef.h"
2015-10-24 04:02:50 +03:00
class FeatureFunction;
class StaticData;
2015-10-23 22:53:36 +03:00
class Scores {
public:
Scores(size_t numScores);
virtual ~Scores();
2015-10-24 04:02:50 +03:00
void CreateFromString(const std::string &str, const FeatureFunction &featureFunction, const StaticData &staticData);
2015-10-23 22:53:36 +03:00
protected:
SCORE *m_scores;
};