// Pr{bitext}
if (bitextWeight > 0) {
HMapSFW bitextDist = clGenerator.getTranslations(origQuery.trim(), srcToken, pairsInGrammar, stemmed2Stemmed);
if(bitextDist != null && !bitextDist.isEmpty()){
tokenRepresentationList.add(new PairOfFloatMap(bitextDist, bitextWeight));
}
}
// Pr{scfg}
if (scfgWeight > 0) {
HMapSFW scfgDist = scfgGenerator.getTranslations(origQuery.trim(), srcToken, probMap, stemmed2Stemmed);
if (scfgDist != null && !scfgDist.isEmpty() ){
tokenRepresentationList.add(new PairOfFloatMap(scfgDist, scfgWeight));
}
}
// Pr{n-best}
if (mtWeight > 0 && nbestDist != null && !nbestDist.isEmpty()) {
Utils.normalize(nbestDist);
tokenRepresentationList.add(new PairOfFloatMap(nbestDist, mtWeight));
}
JsonArray combinedArr;
float scale = 1;
if (scaling) {