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:
ales-t 2010-09-17 12:50:29 +00:00
parent aa77dc32f8
commit 5dd4c4755b
2 changed files with 12 additions and 6 deletions

View File

@ -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;

View File

@ -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 {