Update README.md
Browse files
README.md
CHANGED
@@ -1,20 +1,63 @@
|
|
1 |
---
|
2 |
configs:
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
language:
|
15 |
-
|
16 |
tags:
|
17 |
-
|
18 |
-
|
|
|
19 |
license: odc-by
|
|
|
|
|
20 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
configs:
|
3 |
+
- config_name: uncased
|
4 |
+
data_files:
|
5 |
+
- path:
|
6 |
+
- uncased.jsonl.zst
|
7 |
+
split: train
|
8 |
+
default: true
|
9 |
+
- config_name: cased
|
10 |
+
data_files:
|
11 |
+
- path:
|
12 |
+
- cased.jsonl.zst
|
13 |
+
split: train
|
14 |
language:
|
15 |
+
- en
|
16 |
tags:
|
17 |
+
- grammar
|
18 |
+
- linguistics
|
19 |
+
- NLP
|
20 |
license: odc-by
|
21 |
+
task_categories:
|
22 |
+
- feature-extraction
|
23 |
---
|
24 |
+
# Noun Phrases Dataset
|
25 |
+
|
26 |
+
This dataset contains noun phrases extracted from [allenai/c4](https://huggingface.co/datasets/allenai/c4).
|
27 |
+
It includes two configurations: **uncased** and **cased**, with 1 895 908 and 2 000 002 entries, respectively.
|
28 |
+
|
29 |
+
### JSONL Fields
|
30 |
+
|
31 |
+
Each entry contains:
|
32 |
+
- **noun_phrase:** The extracted noun phrase.
|
33 |
+
- **count:** Frequency of occurrence.
|
34 |
+
|
35 |
+
#### Example Rows
|
36 |
+
```json
|
37 |
+
{"noun_phrase": "ship invoices", "count": 1}
|
38 |
+
{"noun_phrase": "\"river", "count": 1}
|
39 |
+
{"noun_phrase": "no boiler system", "count": 1}
|
40 |
+
```
|
41 |
+
|
42 |
+
### Construction
|
43 |
+
|
44 |
+
- **Cased Data:** Original noun phrases with preserved casing.
|
45 |
+
- **Uncased Data:** Constructed by normalizing cased data to lowercase, aggregating counts for identical phrases, and retaining the original phrase with the highest count.
|
46 |
+
|
47 |
+
### Preprocessing and Extraction
|
48 |
+
|
49 |
+
- **Preprocessing:** Unicode normalization, bracket removal, bullet point standardization, quotation mark normalization, and whitespace normalization.
|
50 |
+
- **SpaCy:** Noun phrase extraction using the `"en_core_web_sm"` model. Articles such as "a" or "the" were removed.
|
51 |
+
|
52 |
+
### Original Data Source
|
53 |
+
|
54 |
+
The C4 dataset is a cleaned version of the Common Crawl dataset, providing a comprehensive source of English text for linguistic analysis and NLP tasks.
|
55 |
+
|
56 |
+
### Applications
|
57 |
+
|
58 |
+
Suitable for grammar analysis, linguistic studies, and natural language processing (NLP) tasks.
|
59 |
+
|
60 |
+
### Dataset Details
|
61 |
+
|
62 |
+
- **Language:** English (`en`)
|
63 |
+
- **Licence:** Open Data Commons License
|