edit analyzeWord.cpp