Add createWord method to Parser