Text Summarization Based on Thematic Representation of Texts