mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-10-06 00:08:52 +03:00
Added default value for mapping.
This commit is contained in:
parent
b733804fdc
commit
a6fb88a074
@ -457,6 +457,8 @@ void StaticData::LoadDecodeGraphs()
|
||||
params = m_parameter->GetParam("mapping");
|
||||
if (params && params->size()) {
|
||||
mappingVector = *params;
|
||||
} else {
|
||||
mappingVector.assign(1,"0 T 0");
|
||||
}
|
||||
|
||||
params = m_parameter->GetParam("max-chart-span");
|
||||
|
Loading…
Reference in New Issue
Block a user