tuneable parameter is set in base class

This commit is contained in:
Matthias Huck 2014-12-04 19:18:20 +00:00
parent 59fd278ef7
commit 31eb7b9693
2 changed files with 1 additions and 7 deletions

View File

@ -40,11 +40,7 @@ PhraseOrientationFeature::PhraseOrientationFeature(const std::string &line)
void PhraseOrientationFeature::SetParameter(const std::string& key, const std::string& value)
{
if (key == "tuneable")
{
m_tuneable = Scan<bool>(value);
}
else if (key == "glueTargetLHS")
if (key == "glueTargetLHS")
{
m_glueTargetLHSStr = value;
}

View File

@ -35,8 +35,6 @@ void SoftSourceSyntacticConstraintsFeature::SetParameter(const std::string& key,
m_coreSourceLabelSetFile = value;
} else if (key == "targetSourceLeftHandSideJointCountFile") {
m_targetSourceLHSJointCountFile = value;
} else if (key == "tuneable") {
m_tuneable = Scan<bool>(value);
} else if (key == "featureVariant") {
m_featureVariant = Scan<size_t>(value); // 0: only dense features, 1: no mismatches (also set weights 1 0 0 and tuneable=false), 2: with sparse features, 3: with sparse features for core labels only
} else {