The method ```
greatestOf(Iterables.transform(model.vocab, new Function<String, Match>() {
x() {
super();
}
public @OverRide Match apply(String other) {
double[] otherVec = getVectorOrNull(other);
double d = calculateDistance(otherVec, vec);
return new MatchImpl(other, d);
}
}), int)