Identifying and analyzing the text structure