mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
Only tuneable
This commit is contained in:
parent
fc85c26eda
commit
294ad4f24f
@ -833,6 +833,9 @@ size_t Manager::OutputFeatureValuesForSLF(size_t index, bool zeros, const Hypoth
|
||||
|
||||
size_t Manager::OutputFeatureValuesForHypergraph(size_t index, const Hypothesis* hypo, const FeatureFunction* ff, std::ostream &outputSearchGraphStream) const
|
||||
{
|
||||
if (!ff->IsTuneable()) {
|
||||
return index;
|
||||
}
|
||||
ScoreComponentCollection scoreCollection = hypo->GetScoreBreakdown();
|
||||
const Hypothesis *prevHypo = hypo->GetPrevHypo();
|
||||
if (prevHypo) {
|
||||
|
Loading…
Reference in New Issue
Block a user