Updated temp.matches("[a-zA-Z]+") in WordMapper.java