Refactoring support for SMS word-category mapping