Small fix in textanalyzer

small fix in textanalyzer