Adds similar words functionality.