refactoring: associating a same numeric key to words with same letters