for (String lexeme : lexemeToEntryMap.keySet()) {
Map<Pair<Formula, String>, BinaryLexicalEntry> entries = lexemeToEntryMap.get(lexeme);
for (Pair<Formula, String> pair : entries.keySet()) {
BinaryLexicalEntry entry = entries.get(pair);
if (entry.jaccard() > 0.001)
writer.println(pair.second + "\t" + entry.fbDescriptions + "\t" + entry.jaccard());
}
}
writer.close();
}