NLP, Python, Spacy.
cat_dict[reuters.categories(fileid).pop()] = 1 # ... For the training run, a special single label configuration file is used. python -m spacy train spacy_single_label_categorization_pipeline.cfg \ --paths.train reuters_training_single_label.spacy \ --paths.dev reuters_testing_single_label.spacy \