system HF staff commited on
Commit
9a052ac
1 Parent(s): 425f84b

Update files from the datasets library (from 1.14.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.14.0

Files changed (3) hide show
  1. README.md +25 -12
  2. blog_authorship_corpus.py +6 -9
  3. dataset_infos.json +1 -1
README.md CHANGED
@@ -1,10 +1,27 @@
1
  ---
 
 
 
 
2
  languages:
3
  - en
 
 
 
 
4
  paperswithcode_id: blog-authorship-corpus
 
 
 
 
 
 
 
 
 
5
  ---
6
 
7
- # Dataset Card for "blog_authorship_corpus"
8
 
9
  ## Table of Contents
10
  - [Dataset Description](#dataset-description)
@@ -47,18 +64,15 @@ The Blog Authorship Corpus consists of the collected posts of 19,320 bloggers ga
47
  Each blog is presented as a separate file, the name of which indicates a blogger id# and the blogger’s self-provided gender, age, industry and astrological sign. (All are labeled for gender and age but for many, industry and/or sign is marked as unknown.)
48
 
49
  All bloggers included in the corpus fall into one of three age groups:
50
-
51
- · 8240 "10s" blogs (ages 13-17),
52
-
53
- · 8086 "20s" blogs(ages 23-27)
54
-
55
- · 2994 "30s" blogs (ages 33-47).
56
 
57
  For each age group there are an equal number of male and female bloggers.
58
 
59
  Each blog in the corpus includes at least 200 occurrences of common English words. All formatting has been stripped with two exceptions. Individual posts within a single blogger are separated by the date of the following post and links within a post are denoted by the label urllink.
60
 
61
- The corpus may be freely used for non-commercial research purposes
62
 
63
  ### Supported Tasks and Leaderboards
64
 
@@ -66,7 +80,7 @@ The corpus may be freely used for non-commercial research purposes
66
 
67
  ### Languages
68
 
69
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
70
 
71
  ## Dataset Structure
72
 
@@ -162,7 +176,7 @@ The data fields are the same among all splits.
162
 
163
  ### Licensing Information
164
 
165
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
166
 
167
  ### Citation Information
168
 
@@ -178,7 +192,6 @@ The data fields are the same among all splits.
178
 
179
  ```
180
 
181
-
182
  ### Contributions
183
 
184
- Thanks to [@thomwolf](https://github.com/thomwolf), [@lewtun](https://github.com/lewtun), [@patrickvonplaten](https://github.com/patrickvonplaten) for adding this dataset.
 
1
  ---
2
+ annotations_creators:
3
+ - no-annotation
4
+ language_creators:
5
+ - found
6
  languages:
7
  - en
8
+ licenses:
9
+ - unknown
10
+ multilinguality:
11
+ - monolingual
12
  paperswithcode_id: blog-authorship-corpus
13
+ pretty_name: Blog Authorship Corpus
14
+ size_categories:
15
+ - 10K<n<100K
16
+ source_datasets:
17
+ - original
18
+ task_categories:
19
+ - text-classification
20
+ task_ids:
21
+ - multi-class-classification
22
  ---
23
 
24
+ # Dataset Card for Blog Authorship Corpus
25
 
26
  ## Table of Contents
27
  - [Dataset Description](#dataset-description)
 
64
  Each blog is presented as a separate file, the name of which indicates a blogger id# and the blogger’s self-provided gender, age, industry and astrological sign. (All are labeled for gender and age but for many, industry and/or sign is marked as unknown.)
65
 
66
  All bloggers included in the corpus fall into one of three age groups:
67
+ - 8240 "10s" blogs (ages 13-17),
68
+ - 8086 "20s" blogs (ages 23-27),
69
+ - 2994 "30s" blogs (ages 33-47).
 
 
 
70
 
71
  For each age group there are an equal number of male and female bloggers.
72
 
73
  Each blog in the corpus includes at least 200 occurrences of common English words. All formatting has been stripped with two exceptions. Individual posts within a single blogger are separated by the date of the following post and links within a post are denoted by the label urllink.
74
 
75
+ The corpus may be freely used for non-commercial research purposes.
76
 
77
  ### Supported Tasks and Leaderboards
78
 
 
80
 
81
  ### Languages
82
 
83
+ The language of the dataset is English (`en`).
84
 
85
  ## Dataset Structure
86
 
 
176
 
177
  ### Licensing Information
178
 
179
+ The corpus may be freely used for non-commercial research purposes.
180
 
181
  ### Citation Information
182
 
 
192
 
193
  ```
194
 
 
195
  ### Contributions
196
 
197
+ Thanks to [@thomwolf](https://github.com/thomwolf), [@lewtun](https://github.com/lewtun), [@patrickvonplaten](https://github.com/patrickvonplaten) for adding this dataset.
blog_authorship_corpus.py CHANGED
@@ -24,21 +24,18 @@ The Blog Authorship Corpus consists of the collected posts of 19,320 bloggers ga
24
  Each blog is presented as a separate file, the name of which indicates a blogger id# and the blogger’s self-provided gender, age, industry and astrological sign. (All are labeled for gender and age but for many, industry and/or sign is marked as unknown.)
25
 
26
  All bloggers included in the corpus fall into one of three age groups:
27
-
28
- · 8240 "10s" blogs (ages 13-17),
29
-
30
- · 8086 "20s" blogs(ages 23-27)
31
-
32
- · 2994 "30s" blogs (ages 33-47).
33
 
34
  For each age group there are an equal number of male and female bloggers.
35
 
36
  Each blog in the corpus includes at least 200 occurrences of common English words. All formatting has been stripped with two exceptions. Individual posts within a single blogger are separated by the date of the following post and links within a post are denoted by the label urllink.
37
 
38
- The corpus may be freely used for non-commercial research purposes
39
  """
40
- _URL = "https://u.cs.biu.ac.il/~koppel/BlogCorpus.htm"
41
- _DATA_URL = "http://www.cs.biu.ac.il/~koppel/blogs/blogs.zip"
42
 
43
 
44
  class BlogAuthorshipCorpus(datasets.GeneratorBasedBuilder):
 
24
  Each blog is presented as a separate file, the name of which indicates a blogger id# and the blogger’s self-provided gender, age, industry and astrological sign. (All are labeled for gender and age but for many, industry and/or sign is marked as unknown.)
25
 
26
  All bloggers included in the corpus fall into one of three age groups:
27
+ - 8240 "10s" blogs (ages 13-17),
28
+ - 8086 "20s" blogs (ages 23-27),
29
+ - 2994 "30s" blogs (ages 33-47).
 
 
 
30
 
31
  For each age group there are an equal number of male and female bloggers.
32
 
33
  Each blog in the corpus includes at least 200 occurrences of common English words. All formatting has been stripped with two exceptions. Individual posts within a single blogger are separated by the date of the following post and links within a post are denoted by the label urllink.
34
 
35
+ The corpus may be freely used for non-commercial research purposes.
36
  """
37
+ _URL = "https://lingcog.blogspot.com/p/datasets.html"
38
+ _DATA_URL = "https://drive.google.com/u/0/uc?id=1cGy4RNDV87ZHEXbiozABr9gsSrZpPaPz&export=download"
39
 
40
 
41
  class BlogAuthorshipCorpus(datasets.GeneratorBasedBuilder):
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"blog_authorship_corpus": {"description": "The Blog Authorship Corpus consists of the collected posts of 19,320 bloggers gathered from blogger.com in August 2004. The corpus incorporates a total of 681,288 posts and over 140 million words - or approximately 35 posts and 7250 words per person.\n\nEach blog is presented as a separate file, the name of which indicates a blogger id# and the blogger\u2019s self-provided gender, age, industry and astrological sign. (All are labeled for gender and age but for many, industry and/or sign is marked as unknown.)\n\nAll bloggers included in the corpus fall into one of three age groups:\n\n\u00b7 8240 \"10s\" blogs (ages 13-17),\n\n\u00b7 8086 \"20s\" blogs(ages 23-27)\n\n\u00b7 2994 \"30s\" blogs (ages 33-47).\n\nFor each age group there are an equal number of male and female bloggers.\n\nEach blog in the corpus includes at least 200 occurrences of common English words. All formatting has been stripped with two exceptions. Individual posts within a single blogger are separated by the date of the following post and links within a post are denoted by the label urllink.\n\nThe corpus may be freely used for non-commercial research purposes\n", "citation": "@inproceedings{schler2006effects,\n title={Effects of age and gender on blogging.},\n author={Schler, Jonathan and Koppel, Moshe and Argamon, Shlomo and Pennebaker, James W},\n booktitle={AAAI spring symposium: Computational approaches to analyzing weblogs},\n volume={6},\n pages={199--205},\n year={2006}\n}\n", "homepage": "https://u.cs.biu.ac.il/~koppel/BlogCorpus.htm", "license": "", "features": {"text": {"dtype": "string", "id": null, "_type": "Value"}, "date": {"dtype": "string", "id": null, "_type": "Value"}, "gender": {"dtype": "string", "id": null, "_type": "Value"}, "age": {"dtype": "int32", "id": null, "_type": "Value"}, "horoscope": {"dtype": "string", "id": null, "_type": "Value"}, "job": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "blog_authorship_corpus", "config_name": "blog_authorship_corpus", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 753833081, "num_examples": 689793, "dataset_name": "blog_authorship_corpus"}, "validation": {"name": "validation", "num_bytes": 41236028, "num_examples": 37919, "dataset_name": "blog_authorship_corpus"}}, "download_checksums": {"http://www.cs.biu.ac.il/~koppel/blogs/blogs.zip": {"num_bytes": 312949121, "checksum": "1dfa6996663515a4baf8c1b71713ce8fe9a314b13778701447e4663bbc64c983"}}, "download_size": 312949121, "post_processing_size": null, "dataset_size": 795069109, "size_in_bytes": 1108018230}}
 
1
+ {"blog_authorship_corpus": {"description": "The Blog Authorship Corpus consists of the collected posts of 19,320 bloggers gathered from blogger.com in August 2004. The corpus incorporates a total of 681,288 posts and over 140 million words - or approximately 35 posts and 7250 words per person.\n\nEach blog is presented as a separate file, the name of which indicates a blogger id# and the blogger\u2019s self-provided gender, age, industry and astrological sign. (All are labeled for gender and age but for many, industry and/or sign is marked as unknown.)\n\nAll bloggers included in the corpus fall into one of three age groups:\n- 8240 \"10s\" blogs (ages 13-17),\n- 8086 \"20s\" blogs (ages 23-27)\n- 2994 \"30s\" blogs (ages 33-47).\n\nFor each age group there are an equal number of male and female bloggers.\n\nEach blog in the corpus includes at least 200 occurrences of common English words. All formatting has been stripped with two exceptions. Individual posts within a single blogger are separated by the date of the following post and links within a post are denoted by the label urllink.\n\nThe corpus may be freely used for non-commercial research purposes.\n", "citation": "@inproceedings{schler2006effects,\n title={Effects of age and gender on blogging.},\n author={Schler, Jonathan and Koppel, Moshe and Argamon, Shlomo and Pennebaker, James W},\n booktitle={AAAI spring symposium: Computational approaches to analyzing weblogs},\n volume={6},\n pages={199--205},\n year={2006}\n}\n", "homepage": "https://lingcog.blogspot.com/p/datasets.html", "license": "", "features": {"text": {"dtype": "string", "id": null, "_type": "Value"}, "date": {"dtype": "string", "id": null, "_type": "Value"}, "gender": {"dtype": "string", "id": null, "_type": "Value"}, "age": {"dtype": "int32", "id": null, "_type": "Value"}, "horoscope": {"dtype": "string", "id": null, "_type": "Value"}, "job": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "blog_authorship_corpus", "config_name": "blog_authorship_corpus", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 753833081, "num_examples": 689793, "dataset_name": "blog_authorship_corpus"}, "validation": {"name": "validation", "num_bytes": 41236028, "num_examples": 37919, "dataset_name": "blog_authorship_corpus"}}, "download_checksums": {"https://drive.google.com/u/0/uc?id=1cGy4RNDV87ZHEXbiozABr9gsSrZpPaPz&export=download": {"num_bytes": 632898892, "checksum": "e89941d841b1652f4405583cfc98c86767bf739cc8876c96037f2a177aef8ebe"}}, "download_size": 632898892, "post_processing_size": null, "dataset_size": 795069109, "size_in_bytes": 1427968001}}