blob: 9585ff04e7e23e8409e072741a58cbc9de4defcb (
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
|
#ifndef _MAX_LEX_TARGET_GIVEN_SOURCE_H_
#define _MAX_LEX_TARGET_GIVEN_SOURCE_H_
#include <memory>
#include "feature.h"
using namespace std;
class TranslationTable;
class MaxLexTargetGivenSource : public Feature {
public:
MaxLexTargetGivenSource(shared_ptr<TranslationTable> table);
double Score(const FeatureContext& context) const;
string GetName() const;
private:
shared_ptr<TranslationTable> table;
};
#endif
|