Software and hardware complex for rapid classification of texts