NLP, Python.
The corpus object yields the following statistics. Because some articles are mentioned several times, the resulting number of documents is only 270. root_path = './articles' corpus = WikipediaPlaintextCorpus(root_path) print(corpus.describe()) # {'files': 270, 'paras': 13974, 'sents': 47289,