Document analysis by means of data mining techniques