It is not possible to compute thousands or millions of documents in a few seconds with a deep and meaningful analysis, even if computers are more and more powerful.
The easy way is counting (forms, words, patterns and collocations, frequencies etc . )