Comparative study of texts and contexts