Correct an error in TextClassificator