Text mining – from Bayes rule to dependency parsing