mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 14:32:38 +03:00
22 lines
426 B
C++
22 lines
426 B
C++
#include "SparsePhraseDictionaryFeature.h"
|
|
|
|
|
|
namespace Moses
|
|
{
|
|
|
|
SparsePhraseDictionaryFeature::SparsePhraseDictionaryFeature(const std::string &line)
|
|
:StatelessFeatureFunction("SparsePhraseDictionaryFeature", ScoreProducer::unlimited, line)
|
|
{
|
|
}
|
|
|
|
void SparsePhraseDictionaryFeature::Evaluate(
|
|
const PhraseBasedFeatureContext& context,
|
|
ScoreComponentCollection* accumulator) const
|
|
{
|
|
//not used
|
|
}
|
|
|
|
|
|
|
|
}
|