Commit
•
2883825
1
Parent(s):
32f6427
Host data file (#3)
Browse files- Add data file (b6432f20906ae83073a98c9a1ede6abc78b5877d)
- Update data URL in loading script (76a4453135cf66f8819183958b3fc7af99cbfb7f)
- Delete legacy dataset_infos.json (750f1c21e6745486daf81871554e95a3d9a88b52)
- Reorder configs metadata in dataset card (8cae5b93a8d2cbbe3fe6b4c44c394387df8c5cd6)
- Update webpage URL (13c493b853c9986e2fe13ee506b8a8261b680056)
- Update licensing information (aacfc36d65cc80180d7cee1f15ba023ceba190f1)
- README.md +40 -25
- data/reuters21578.tar.gz +3 -0
- dataset_infos.json +0 -1
- reuters21578.py +4 -2
README.md
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
---
|
2 |
-
pretty_name: Reuters-21578 Text Categorization Collection
|
3 |
language:
|
4 |
- en
|
|
|
5 |
paperswithcode_id: reuters-21578
|
|
|
6 |
dataset_info:
|
7 |
-
- config_name:
|
8 |
features:
|
9 |
- name: text
|
10 |
dtype: string
|
@@ -34,14 +35,17 @@ dataset_info:
|
|
34 |
dtype: string
|
35 |
splits:
|
36 |
- name: test
|
37 |
-
num_bytes:
|
38 |
-
num_examples:
|
39 |
- name: train
|
40 |
-
num_bytes:
|
41 |
-
num_examples:
|
|
|
|
|
|
|
42 |
download_size: 8150596
|
43 |
-
dataset_size:
|
44 |
-
- config_name:
|
45 |
features:
|
46 |
- name: text
|
47 |
dtype: string
|
@@ -71,17 +75,14 @@ dataset_info:
|
|
71 |
dtype: string
|
72 |
splits:
|
73 |
- name: test
|
74 |
-
num_bytes:
|
75 |
-
num_examples: 6188
|
76 |
-
- name: train
|
77 |
-
num_bytes: 12994735
|
78 |
-
num_examples: 13625
|
79 |
-
- name: unused
|
80 |
-
num_bytes: 948316
|
81 |
num_examples: 722
|
|
|
|
|
|
|
82 |
download_size: 8150596
|
83 |
-
dataset_size:
|
84 |
-
- config_name:
|
85 |
features:
|
86 |
- name: text
|
87 |
dtype: string
|
@@ -111,16 +112,16 @@ dataset_info:
|
|
111 |
dtype: string
|
112 |
splits:
|
113 |
- name: test
|
114 |
-
num_bytes:
|
115 |
-
num_examples:
|
116 |
- name: train
|
117 |
-
num_bytes:
|
118 |
-
num_examples:
|
119 |
- name: unused
|
120 |
-
num_bytes:
|
121 |
num_examples: 722
|
122 |
download_size: 8150596
|
123 |
-
dataset_size:
|
124 |
---
|
125 |
|
126 |
# Dataset Card for "reuters21578"
|
@@ -151,7 +152,7 @@ dataset_info:
|
|
151 |
|
152 |
## Dataset Description
|
153 |
|
154 |
-
- **Homepage:**
|
155 |
- **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
156 |
- **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
157 |
- **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
@@ -372,7 +373,21 @@ The data fields are the same among all splits.
|
|
372 |
|
373 |
### Licensing Information
|
374 |
|
375 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
376 |
|
377 |
### Citation Information
|
378 |
|
|
|
1 |
---
|
|
|
2 |
language:
|
3 |
- en
|
4 |
+
license: other
|
5 |
paperswithcode_id: reuters-21578
|
6 |
+
pretty_name: Reuters-21578 Text Categorization Collection
|
7 |
dataset_info:
|
8 |
+
- config_name: ModApte
|
9 |
features:
|
10 |
- name: text
|
11 |
dtype: string
|
|
|
35 |
dtype: string
|
36 |
splits:
|
37 |
- name: test
|
38 |
+
num_bytes: 2971653
|
39 |
+
num_examples: 3299
|
40 |
- name: train
|
41 |
+
num_bytes: 9161179
|
42 |
+
num_examples: 9603
|
43 |
+
- name: unused
|
44 |
+
num_bytes: 948244
|
45 |
+
num_examples: 722
|
46 |
download_size: 8150596
|
47 |
+
dataset_size: 13081076
|
48 |
+
- config_name: ModHayes
|
49 |
features:
|
50 |
- name: text
|
51 |
dtype: string
|
|
|
75 |
dtype: string
|
76 |
splits:
|
77 |
- name: test
|
78 |
+
num_bytes: 948244
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
num_examples: 722
|
80 |
+
- name: train
|
81 |
+
num_bytes: 19071106
|
82 |
+
num_examples: 20856
|
83 |
download_size: 8150596
|
84 |
+
dataset_size: 20019350
|
85 |
+
- config_name: ModLewis
|
86 |
features:
|
87 |
- name: text
|
88 |
dtype: string
|
|
|
112 |
dtype: string
|
113 |
splits:
|
114 |
- name: test
|
115 |
+
num_bytes: 5400506
|
116 |
+
num_examples: 6188
|
117 |
- name: train
|
118 |
+
num_bytes: 12994591
|
119 |
+
num_examples: 13625
|
120 |
- name: unused
|
121 |
+
num_bytes: 948244
|
122 |
num_examples: 722
|
123 |
download_size: 8150596
|
124 |
+
dataset_size: 19343341
|
125 |
---
|
126 |
|
127 |
# Dataset Card for "reuters21578"
|
|
|
152 |
|
153 |
## Dataset Description
|
154 |
|
155 |
+
- **Homepage:** https://archive.ics.uci.edu/dataset/137/reuters+21578+text+categorization+collection
|
156 |
- **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
157 |
- **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
158 |
- **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
|
|
373 |
|
374 |
### Licensing Information
|
375 |
|
376 |
+
According to the dataset website (https://archive.ics.uci.edu/dataset/137/reuters+21578+text+categorization+collection),
|
377 |
+
this dataset is licensed under [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/legalcode)
|
378 |
+
(C BY 4.0) license.
|
379 |
+
|
380 |
+
However, the source data file contains a `README.txt` file with the following information under the
|
381 |
+
**Copyright & Notification** section:
|
382 |
+
|
383 |
+
> The copyright for the text of newswire articles and Reuters
|
384 |
+
annotations in the Reuters-21578 collection resides with Reuters Ltd.
|
385 |
+
Reuters Ltd. and Carnegie Group, Inc. have agreed to allow the free
|
386 |
+
distribution of this data *for research purposes only*.
|
387 |
+
> If you publish results based on this data set, please acknowledge
|
388 |
+
its use, refer to the data set by the name "Reuters-21578,
|
389 |
+
Distribution 1.0", and inform your readers of the current location of
|
390 |
+
the data set (see "Availability & Questions").
|
391 |
|
392 |
### Citation Information
|
393 |
|
data/reuters21578.tar.gz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3bae43c9b14e387f76a61b6d82bf98a4fb5d3ef99ef7e7075ff2ccbcf59f9d30
|
3 |
+
size 8150596
|
dataset_infos.json
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
{"ModHayes": {"description": "The Reuters-21578 dataset is one of the most widely used data collections for text\ncategorization research. It is collected from the Reuters financial newswire service in 1987.\n", "citation": "@article{APTE94,\nauthor = {Chidanand Apt{'{e}} and Fred Damerau and Sholom M. Weiss},\ntitle = {Automated Learning of Decision Rules for Text Categorization},\njournal = {ACM Transactions on Information Systems},\nyear = {1994},\nnote = {To appear.}\n}\n\n@inproceedings{APTE94b,\nauthor = {Chidanand Apt{'{e}} and Fred Damerau and Sholom M. Weiss},\ntitle = {Toward Language Independent Automated Learning of Text Categorization Models},\nbooktitle = {sigir94},\nyear = {1994},\nnote = {To appear.}\n}\n\n@inproceedings{HAYES8},\nauthor = {Philip J. Hayes and Peggy M. Anderson and Irene B. Nirenburg and\nLinda M. Schmandt},\ntitle = {{TCS}: A Shell for Content-Based Text Categorization},\nbooktitle = {IEEE Conference on Artificial Intelligence Applications},\nyear = {1990}\n}\n\n@inproceedings{HAYES90b,\nauthor = {Philip J. Hayes and Steven P. Weinstein},\ntitle = {{CONSTRUE/TIS:} A System for Content-Based Indexing of a\nDatabase of News Stories},\nbooktitle = {Second Annual Conference on Innovative Applications of\nArtificial Intelligence},\nyear = {1990}\n}\n\n@incollection{HAYES92 ,\nauthor = {Philip J. Hayes},\ntitle = {Intelligent High-Volume Text Processing using Shallow,\nDomain-Specific Techniques},\nbooktitle = {Text-Based Intelligent Systems},\npublisher = {Lawrence Erlbaum},\naddress = {Hillsdale, NJ},\nyear = {1992},\neditor = {Paul S. Jacobs}\n}\n\n@inproceedings{LEWIS91c ,\nauthor = {David D. Lewis},\ntitle = {Evaluating Text Categorization},\nbooktitle = {Proceedings of Speech and Natural Language Workshop},\nyear = {1991},\nmonth = {feb},\norganization = {Defense Advanced Research Projects Agency},\npublisher = {Morgan Kaufmann},\npages = {312--318}\n\n}\n\n@phdthesis{LEWIS91d,\nauthor = {David Dolan Lewis},\ntitle = {Representation and Learning in Information Retrieval},\nschool = {Computer Science Dept.; Univ. of Massachusetts; Amherst, MA 01003},\nyear = 1992},\nnote = {Technical Report 91--93.}\n}\n\n@inproceedings{LEWIS91e,\nauthor = {David D. Lewis},\ntitle = {Data Extraction as Text Categorization: An Experiment with\nthe {MUC-3} Corpus},\nbooktitle = {Proceedings of the Third Message Understanding Evaluation\nand Conference},\nyear = {1991},\nmonth = {may},\norganization = {Defense Advanced Research Projects Agency},\npublisher = {Morgan Kaufmann},\naddress = {Los Altos, CA}\n\n}\n\n@inproceedings{LEWIS92b,\nauthor = {David D. Lewis},\ntitle = {An Evaluation of Phrasal and Clustered Representations on a Text\nCategorization Task},\nbooktitle = {Fifteenth Annual International ACM SIGIR Conference on\nResearch and Development in Information Retrieval},\nyear = {1992},\npages = {37--50}\n}\n\n@inproceedings{LEWIS92d ,\nauthor = {David D. Lewis and Richard M. Tong},\ntitle = {Text Filtering in {MUC-3} and {MUC-4}},\nbooktitle = {Proceedings of the Fourth Message Understanding Conference ({MUC-4})},\nyear = {1992},\nmonth = {jun},\norganization = {Defense Advanced Research Projects Agency},\npublisher = {Morgan Kaufmann},\naddress = {Los Altos, CA}\n}\n\n@inproceedings{LEWIS92e,\nauthor = {David D. Lewis},\ntitle = {Feature Selection and Feature Extraction for Text Categorization},\nbooktitle = {Proceedings of Speech and Natural Language Workshop},\nyear = {1992},\nmonth = {feb} ,\norganization = {Defense Advanced Research Projects Agency},\npublisher = {Morgan Kaufmann},\npages = {212--217}\n}\n\n@inproceedings{LEWIS94b,\nauthor = {David D. Lewis and Marc Ringuette},\ntitle = {A Comparison of Two Learning Algorithms for Text Categorization},\nbooktitle = {Symposium on Document Analysis and Information Retrieval},\nyear = {1994},\norganization = {ISRI; Univ. of Nevada, Las Vegas},\naddress = {Las Vegas, NV},\nmonth = {apr},\npages = {81--93}\n}\n\n@article{LEWIS94d,\nauthor = {David D. Lewis and Philip J. Hayes},\ntitle = {Guest Editorial},\njournal = {ACM Transactions on Information Systems},\nyear = {1994},\nvolume = {12},\nnumber = {3},\npages = {231},\nmonth = {jul}\n}\n\n@article{SPARCKJONES76,\nauthor = {K. {Sparck Jones} and C. J. {van Rijsbergen}},\ntitle = {Information Retrieval Test Collections},\njournal = {Journal of Documentation},\nyear = {1976},\nvolume = {32},\nnumber = {1},\npages = {59--75}\n}\n\n@book{WEISS91,\nauthor = {Sholom M. Weiss and Casimir A. Kulikowski},\ntitle = {Computer Systems That Learn},\npublisher = {Morgan Kaufmann},\nyear = {1991},\naddress = {San Mateo, CA}\n}\n", "homepage": "https://kdd.ics.uci.edu/databases/reuters21578/reuters21578.html", "license": "", "features": {"text": {"dtype": "string", "id": null, "_type": "Value"}, "text_type": {"dtype": "string", "id": null, "_type": "Value"}, "topics": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lewis_split": {"dtype": "string", "id": null, "_type": "Value"}, "cgis_split": {"dtype": "string", "id": null, "_type": "Value"}, "old_id": {"dtype": "string", "id": null, "_type": "Value"}, "new_id": {"dtype": "string", "id": null, "_type": "Value"}, "places": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "people": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "orgs": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "exchanges": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "date": {"dtype": "string", "id": null, "_type": "Value"}, "title": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "reuters21578", "config_name": "ModHayes", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"test": {"name": "test", "num_bytes": 948316, "num_examples": 722, "dataset_name": "reuters21578"}, "train": {"name": "train", "num_bytes": 19071322, "num_examples": 20856, "dataset_name": "reuters21578"}}, "download_checksums": {"https://kdd.ics.uci.edu/databases/reuters21578/reuters21578.tar.gz": {"num_bytes": 8150596, "checksum": "3bae43c9b14e387f76a61b6d82bf98a4fb5d3ef99ef7e7075ff2ccbcf59f9d30"}}, "download_size": 8150596, "post_processing_size": null, "dataset_size": 20019638, "size_in_bytes": 28170234}, "ModLewis": {"description": "The Reuters-21578 dataset is one of the most widely used data collections for text\ncategorization research. It is collected from the Reuters financial newswire service in 1987.\n", "citation": "@article{APTE94,\nauthor = {Chidanand Apt{'{e}} and Fred Damerau and Sholom M. Weiss},\ntitle = {Automated Learning of Decision Rules for Text Categorization},\njournal = {ACM Transactions on Information Systems},\nyear = {1994},\nnote = {To appear.}\n}\n\n@inproceedings{APTE94b,\nauthor = {Chidanand Apt{'{e}} and Fred Damerau and Sholom M. Weiss},\ntitle = {Toward Language Independent Automated Learning of Text Categorization Models},\nbooktitle = {sigir94},\nyear = {1994},\nnote = {To appear.}\n}\n\n@inproceedings{HAYES8},\nauthor = {Philip J. Hayes and Peggy M. Anderson and Irene B. Nirenburg and\nLinda M. Schmandt},\ntitle = {{TCS}: A Shell for Content-Based Text Categorization},\nbooktitle = {IEEE Conference on Artificial Intelligence Applications},\nyear = {1990}\n}\n\n@inproceedings{HAYES90b,\nauthor = {Philip J. Hayes and Steven P. Weinstein},\ntitle = {{CONSTRUE/TIS:} A System for Content-Based Indexing of a\nDatabase of News Stories},\nbooktitle = {Second Annual Conference on Innovative Applications of\nArtificial Intelligence},\nyear = {1990}\n}\n\n@incollection{HAYES92 ,\nauthor = {Philip J. Hayes},\ntitle = {Intelligent High-Volume Text Processing using Shallow,\nDomain-Specific Techniques},\nbooktitle = {Text-Based Intelligent Systems},\npublisher = {Lawrence Erlbaum},\naddress = {Hillsdale, NJ},\nyear = {1992},\neditor = {Paul S. Jacobs}\n}\n\n@inproceedings{LEWIS91c ,\nauthor = {David D. Lewis},\ntitle = {Evaluating Text Categorization},\nbooktitle = {Proceedings of Speech and Natural Language Workshop},\nyear = {1991},\nmonth = {feb},\norganization = {Defense Advanced Research Projects Agency},\npublisher = {Morgan Kaufmann},\npages = {312--318}\n\n}\n\n@phdthesis{LEWIS91d,\nauthor = {David Dolan Lewis},\ntitle = {Representation and Learning in Information Retrieval},\nschool = {Computer Science Dept.; Univ. of Massachusetts; Amherst, MA 01003},\nyear = 1992},\nnote = {Technical Report 91--93.}\n}\n\n@inproceedings{LEWIS91e,\nauthor = {David D. Lewis},\ntitle = {Data Extraction as Text Categorization: An Experiment with\nthe {MUC-3} Corpus},\nbooktitle = {Proceedings of the Third Message Understanding Evaluation\nand Conference},\nyear = {1991},\nmonth = {may},\norganization = {Defense Advanced Research Projects Agency},\npublisher = {Morgan Kaufmann},\naddress = {Los Altos, CA}\n\n}\n\n@inproceedings{LEWIS92b,\nauthor = {David D. Lewis},\ntitle = {An Evaluation of Phrasal and Clustered Representations on a Text\nCategorization Task},\nbooktitle = {Fifteenth Annual International ACM SIGIR Conference on\nResearch and Development in Information Retrieval},\nyear = {1992},\npages = {37--50}\n}\n\n@inproceedings{LEWIS92d ,\nauthor = {David D. Lewis and Richard M. Tong},\ntitle = {Text Filtering in {MUC-3} and {MUC-4}},\nbooktitle = {Proceedings of the Fourth Message Understanding Conference ({MUC-4})},\nyear = {1992},\nmonth = {jun},\norganization = {Defense Advanced Research Projects Agency},\npublisher = {Morgan Kaufmann},\naddress = {Los Altos, CA}\n}\n\n@inproceedings{LEWIS92e,\nauthor = {David D. Lewis},\ntitle = {Feature Selection and Feature Extraction for Text Categorization},\nbooktitle = {Proceedings of Speech and Natural Language Workshop},\nyear = {1992},\nmonth = {feb} ,\norganization = {Defense Advanced Research Projects Agency},\npublisher = {Morgan Kaufmann},\npages = {212--217}\n}\n\n@inproceedings{LEWIS94b,\nauthor = {David D. Lewis and Marc Ringuette},\ntitle = {A Comparison of Two Learning Algorithms for Text Categorization},\nbooktitle = {Symposium on Document Analysis and Information Retrieval},\nyear = {1994},\norganization = {ISRI; Univ. of Nevada, Las Vegas},\naddress = {Las Vegas, NV},\nmonth = {apr},\npages = {81--93}\n}\n\n@article{LEWIS94d,\nauthor = {David D. Lewis and Philip J. Hayes},\ntitle = {Guest Editorial},\njournal = {ACM Transactions on Information Systems},\nyear = {1994},\nvolume = {12},\nnumber = {3},\npages = {231},\nmonth = {jul}\n}\n\n@article{SPARCKJONES76,\nauthor = {K. {Sparck Jones} and C. J. {van Rijsbergen}},\ntitle = {Information Retrieval Test Collections},\njournal = {Journal of Documentation},\nyear = {1976},\nvolume = {32},\nnumber = {1},\npages = {59--75}\n}\n\n@book{WEISS91,\nauthor = {Sholom M. Weiss and Casimir A. Kulikowski},\ntitle = {Computer Systems That Learn},\npublisher = {Morgan Kaufmann},\nyear = {1991},\naddress = {San Mateo, CA}\n}\n", "homepage": "https://kdd.ics.uci.edu/databases/reuters21578/reuters21578.html", "license": "", "features": {"text": {"dtype": "string", "id": null, "_type": "Value"}, "text_type": {"dtype": "string", "id": null, "_type": "Value"}, "topics": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lewis_split": {"dtype": "string", "id": null, "_type": "Value"}, "cgis_split": {"dtype": "string", "id": null, "_type": "Value"}, "old_id": {"dtype": "string", "id": null, "_type": "Value"}, "new_id": {"dtype": "string", "id": null, "_type": "Value"}, "places": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "people": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "orgs": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "exchanges": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "date": {"dtype": "string", "id": null, "_type": "Value"}, "title": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "reuters21578", "config_name": "ModLewis", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"test": {"name": "test", "num_bytes": 5400578, "num_examples": 6188, "dataset_name": "reuters21578"}, "train": {"name": "train", "num_bytes": 12994735, "num_examples": 13625, "dataset_name": "reuters21578"}, "unused": {"name": "unused", "num_bytes": 948316, "num_examples": 722, "dataset_name": "reuters21578"}}, "download_checksums": {"https://kdd.ics.uci.edu/databases/reuters21578/reuters21578.tar.gz": {"num_bytes": 8150596, "checksum": "3bae43c9b14e387f76a61b6d82bf98a4fb5d3ef99ef7e7075ff2ccbcf59f9d30"}}, "download_size": 8150596, "post_processing_size": null, "dataset_size": 19343629, "size_in_bytes": 27494225}, "ModApte": {"description": "The Reuters-21578 dataset is one of the most widely used data collections for text\ncategorization research. It is collected from the Reuters financial newswire service in 1987.\n", "citation": "@article{APTE94,\nauthor = {Chidanand Apt{'{e}} and Fred Damerau and Sholom M. Weiss},\ntitle = {Automated Learning of Decision Rules for Text Categorization},\njournal = {ACM Transactions on Information Systems},\nyear = {1994},\nnote = {To appear.}\n}\n\n@inproceedings{APTE94b,\nauthor = {Chidanand Apt{'{e}} and Fred Damerau and Sholom M. Weiss},\ntitle = {Toward Language Independent Automated Learning of Text Categorization Models},\nbooktitle = {sigir94},\nyear = {1994},\nnote = {To appear.}\n}\n\n@inproceedings{HAYES8},\nauthor = {Philip J. Hayes and Peggy M. Anderson and Irene B. Nirenburg and\nLinda M. Schmandt},\ntitle = {{TCS}: A Shell for Content-Based Text Categorization},\nbooktitle = {IEEE Conference on Artificial Intelligence Applications},\nyear = {1990}\n}\n\n@inproceedings{HAYES90b,\nauthor = {Philip J. Hayes and Steven P. Weinstein},\ntitle = {{CONSTRUE/TIS:} A System for Content-Based Indexing of a\nDatabase of News Stories},\nbooktitle = {Second Annual Conference on Innovative Applications of\nArtificial Intelligence},\nyear = {1990}\n}\n\n@incollection{HAYES92 ,\nauthor = {Philip J. Hayes},\ntitle = {Intelligent High-Volume Text Processing using Shallow,\nDomain-Specific Techniques},\nbooktitle = {Text-Based Intelligent Systems},\npublisher = {Lawrence Erlbaum},\naddress = {Hillsdale, NJ},\nyear = {1992},\neditor = {Paul S. Jacobs}\n}\n\n@inproceedings{LEWIS91c ,\nauthor = {David D. Lewis},\ntitle = {Evaluating Text Categorization},\nbooktitle = {Proceedings of Speech and Natural Language Workshop},\nyear = {1991},\nmonth = {feb},\norganization = {Defense Advanced Research Projects Agency},\npublisher = {Morgan Kaufmann},\npages = {312--318}\n\n}\n\n@phdthesis{LEWIS91d,\nauthor = {David Dolan Lewis},\ntitle = {Representation and Learning in Information Retrieval},\nschool = {Computer Science Dept.; Univ. of Massachusetts; Amherst, MA 01003},\nyear = 1992},\nnote = {Technical Report 91--93.}\n}\n\n@inproceedings{LEWIS91e,\nauthor = {David D. Lewis},\ntitle = {Data Extraction as Text Categorization: An Experiment with\nthe {MUC-3} Corpus},\nbooktitle = {Proceedings of the Third Message Understanding Evaluation\nand Conference},\nyear = {1991},\nmonth = {may},\norganization = {Defense Advanced Research Projects Agency},\npublisher = {Morgan Kaufmann},\naddress = {Los Altos, CA}\n\n}\n\n@inproceedings{LEWIS92b,\nauthor = {David D. Lewis},\ntitle = {An Evaluation of Phrasal and Clustered Representations on a Text\nCategorization Task},\nbooktitle = {Fifteenth Annual International ACM SIGIR Conference on\nResearch and Development in Information Retrieval},\nyear = {1992},\npages = {37--50}\n}\n\n@inproceedings{LEWIS92d ,\nauthor = {David D. Lewis and Richard M. Tong},\ntitle = {Text Filtering in {MUC-3} and {MUC-4}},\nbooktitle = {Proceedings of the Fourth Message Understanding Conference ({MUC-4})},\nyear = {1992},\nmonth = {jun},\norganization = {Defense Advanced Research Projects Agency},\npublisher = {Morgan Kaufmann},\naddress = {Los Altos, CA}\n}\n\n@inproceedings{LEWIS92e,\nauthor = {David D. Lewis},\ntitle = {Feature Selection and Feature Extraction for Text Categorization},\nbooktitle = {Proceedings of Speech and Natural Language Workshop},\nyear = {1992},\nmonth = {feb} ,\norganization = {Defense Advanced Research Projects Agency},\npublisher = {Morgan Kaufmann},\npages = {212--217}\n}\n\n@inproceedings{LEWIS94b,\nauthor = {David D. Lewis and Marc Ringuette},\ntitle = {A Comparison of Two Learning Algorithms for Text Categorization},\nbooktitle = {Symposium on Document Analysis and Information Retrieval},\nyear = {1994},\norganization = {ISRI; Univ. of Nevada, Las Vegas},\naddress = {Las Vegas, NV},\nmonth = {apr},\npages = {81--93}\n}\n\n@article{LEWIS94d,\nauthor = {David D. Lewis and Philip J. Hayes},\ntitle = {Guest Editorial},\njournal = {ACM Transactions on Information Systems},\nyear = {1994},\nvolume = {12},\nnumber = {3},\npages = {231},\nmonth = {jul}\n}\n\n@article{SPARCKJONES76,\nauthor = {K. {Sparck Jones} and C. J. {van Rijsbergen}},\ntitle = {Information Retrieval Test Collections},\njournal = {Journal of Documentation},\nyear = {1976},\nvolume = {32},\nnumber = {1},\npages = {59--75}\n}\n\n@book{WEISS91,\nauthor = {Sholom M. Weiss and Casimir A. Kulikowski},\ntitle = {Computer Systems That Learn},\npublisher = {Morgan Kaufmann},\nyear = {1991},\naddress = {San Mateo, CA}\n}\n", "homepage": "https://kdd.ics.uci.edu/databases/reuters21578/reuters21578.html", "license": "", "features": {"text": {"dtype": "string", "id": null, "_type": "Value"}, "text_type": {"dtype": "string", "id": null, "_type": "Value"}, "topics": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lewis_split": {"dtype": "string", "id": null, "_type": "Value"}, "cgis_split": {"dtype": "string", "id": null, "_type": "Value"}, "old_id": {"dtype": "string", "id": null, "_type": "Value"}, "new_id": {"dtype": "string", "id": null, "_type": "Value"}, "places": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "people": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "orgs": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "exchanges": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "date": {"dtype": "string", "id": null, "_type": "Value"}, "title": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "reuters21578", "config_name": "ModApte", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"test": {"name": "test", "num_bytes": 2971725, "num_examples": 3299, "dataset_name": "reuters21578"}, "train": {"name": "train", "num_bytes": 9161251, "num_examples": 9603, "dataset_name": "reuters21578"}, "unused": {"name": "unused", "num_bytes": 948316, "num_examples": 722, "dataset_name": "reuters21578"}}, "download_checksums": {"https://kdd.ics.uci.edu/databases/reuters21578/reuters21578.tar.gz": {"num_bytes": 8150596, "checksum": "3bae43c9b14e387f76a61b6d82bf98a4fb5d3ef99ef7e7075ff2ccbcf59f9d30"}}, "download_size": 8150596, "post_processing_size": null, "dataset_size": 13081292, "size_in_bytes": 21231888}}
|
|
|
|
reuters21578.py
CHANGED
@@ -22,6 +22,8 @@ from textwrap import dedent
|
|
22 |
import datasets
|
23 |
|
24 |
|
|
|
|
|
25 |
_CITATION = """\
|
26 |
@article{APTE94,
|
27 |
author = {Chidanand Apt{\'{e}} and Fred Damerau and Sholom M. Weiss},
|
@@ -179,7 +181,7 @@ The Reuters-21578 dataset is one of the most widely used data collections for t
|
|
179 |
categorization research. It is collected from the Reuters financial newswire service in 1987.
|
180 |
"""
|
181 |
|
182 |
-
_DATA_URL = "
|
183 |
|
184 |
|
185 |
class Reuters21578Config(datasets.BuilderConfig):
|
@@ -247,7 +249,7 @@ class Reuters21578(datasets.GeneratorBasedBuilder):
|
|
247 |
# No default supervised_keys (as we have to pass both premise
|
248 |
# and hypothesis as input).
|
249 |
supervised_keys=None,
|
250 |
-
homepage=
|
251 |
citation=_CITATION,
|
252 |
)
|
253 |
|
|
|
22 |
import datasets
|
23 |
|
24 |
|
25 |
+
_HOMEPAGE = "https://archive.ics.uci.edu/dataset/137/reuters+21578+text+categorization+collection"
|
26 |
+
|
27 |
_CITATION = """\
|
28 |
@article{APTE94,
|
29 |
author = {Chidanand Apt{\'{e}} and Fred Damerau and Sholom M. Weiss},
|
|
|
181 |
categorization research. It is collected from the Reuters financial newswire service in 1987.
|
182 |
"""
|
183 |
|
184 |
+
_DATA_URL = "data/reuters21578.tar.gz"
|
185 |
|
186 |
|
187 |
class Reuters21578Config(datasets.BuilderConfig):
|
|
|
249 |
# No default supervised_keys (as we have to pass both premise
|
250 |
# and hypothesis as input).
|
251 |
supervised_keys=None,
|
252 |
+
homepage=_HOMEPAGE,
|
253 |
citation=_CITATION,
|
254 |
)
|
255 |
|