methods of analysis of texts