for (Integer targetWid : targetWidList) {
float translationProbability = 0.0f;
if (targetWid != null) {
for (Integer sourceWid : sourceWidList) {
if (sourceWid != null) {
SourceData sourceData = translationModel.get(sourceWid);
translationProbability +=
sourceData.getTranslationProbability(targetWid);
}
}
}
translationProbability = Math.max(translationProbability,
MINIMUM_TRANSLATION_PROBABILITY);