mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 22:45:50 +03:00
Compiles again.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3510 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
aa77dc32f8
commit
5dd4c4755b
@ -4,7 +4,9 @@ namespace Moses {
|
||||
|
||||
using namespace std;
|
||||
|
||||
TargetBigramFeature::TargetBigramFeature(ScoreIndexManager &scoreIndexManager);
|
||||
TargetBigramFeature::TargetBigramFeature(ScoreIndexManager &scoreIndexManager)
|
||||
{
|
||||
}
|
||||
|
||||
size_t TargetBigramFeature::GetNumScoreComponents() const
|
||||
{
|
||||
@ -31,15 +33,15 @@ size_t TargetBigramFeature::GetNumInputScores() const
|
||||
}
|
||||
|
||||
|
||||
virtual const FFState* TargetBigramFeature::EmptyHypothesisState(const InputType &input) const
|
||||
const FFState* TargetBigramFeature::EmptyHypothesisState(const InputType &input) const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
virtual FFState* TargetBigramFeature::Evaluate(const Hypothesis& cur_hypo,
|
||||
const FFState* prev_state,
|
||||
ScoreComponentCollection* accumulator) const
|
||||
FFState* TargetBigramFeature::Evaluate(const Hypothesis& cur_hypo,
|
||||
const FFState* prev_state,
|
||||
ScoreComponentCollection* accumulator) const
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
|
@ -1,9 +1,13 @@
|
||||
#ifndef moses_TargetBigramFeature_h
|
||||
#define moses_TargetBigramFeature_h
|
||||
|
||||
#include "FeatureFunction.h"
|
||||
#include "FFState.h"
|
||||
#include <string>
|
||||
|
||||
namespace Moses
|
||||
{
|
||||
|
||||
|
||||
/** Sets the features of observed bigrams.
|
||||
*/
|
||||
class TargetBigramFeature : public StatefulFeatureFunction {
|
||||
|
Loading…
Reference in New Issue
Block a user