mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
update confusion network to query InputFeature for paramters, rather than StaticData
This commit is contained in:
parent
cc0f00049e
commit
e682578a42
@ -36,10 +36,10 @@ int WordLattice::InitializeFromPCNDataType(const PCN::CN& cn, const std::vector<
|
||||
{
|
||||
const StaticData &staticData = StaticData::Instance();
|
||||
const InputFeature *inputFeature = staticData.GetInputFeature();
|
||||
//size_t numInputScores = inputFeature->GetNumInputScores();
|
||||
//size_t numRealWordCount = inputFeature->GetNumRealWordsInInput();
|
||||
size_t numInputScores = StaticData::Instance().GetNumInputScores();
|
||||
size_t numRealWordCount = StaticData::Instance().GetNumRealWordsInInput();
|
||||
size_t numInputScores = inputFeature->GetNumInputScores();
|
||||
size_t numRealWordCount = inputFeature->GetNumRealWordsInInput();
|
||||
//size_t numInputScores = StaticData::Instance().GetNumInputScores();
|
||||
//size_t numRealWordCount = StaticData::Instance().GetNumRealWordsInInput();
|
||||
|
||||
size_t maxSizePhrase = StaticData::Instance().GetMaxPhraseLength();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user