Added a best_synonym function.
Merged.