NLP, Python, Spacy.
shows how to load the dataset, then print a text and its category. from nltk.corpus import reuters print(len(reuters.fileids())) # 10788 print(reuters.raw(reuters.fileids()[42])) # JAPAN GIVEN LITTLE HOPE OF AVOIDING U.S. SANCTIONS # A top U.S. Official said Japan has little # chance of persuading