The automatic analysis of corpora