if (fbFormulasInfo.isCvtFormula(info) && source == EntrySource.STRING_MATCH) {
List<BinaryLexicalEntry> entries = new ArrayList<LexicalEntry.BinaryLexicalEntry>();
for (BinaryFormulaInfo cvtInfo : fbFormulasInfo.getCvtExpansions(info)) {
entries.add(
new BinaryLexicalEntry(
mapKey, mapKey, new HashSet<String>(cvtInfo.descriptions), cvtInfo.formula, source,
cvtInfo.popularity, cvtInfo.expectedType1, cvtInfo.expectedType2, cvtInfo.unitId, cvtInfo.unitDesc, alignmentScores, lexValue.lexeme));
}
return entries;
} else {
BinaryLexicalEntry entry = new BinaryLexicalEntry(
mapKey, mapKey, new HashSet<String>(info.descriptions), lexValue.formula, source,
info.popularity, info.expectedType1, info.expectedType2, info.unitId, info.unitDesc, alignmentScores, lexValue.lexeme);
return Collections.singletonList(entry);
}
}