added function getMostSimilarWord