File size: 1,911 Bytes
82b3710
 
984d04a
 
 
 
 
 
 
 
 
 
 
82b3710
984d04a
82b3710
984d04a
 
 
82b3710
984d04a
 
82b3710
984d04a
 
b221a32
 
984d04a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b221a32
 
984d04a
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
configs:
- config_name: uncased
  data_files:
  - path:
    - uncased.jsonl.zst
    split: train
  default: true
- config_name: cased
  data_files:
  - path:
    - cased.jsonl.zst
    split: train
language:
- en
tags:
- grammar
- linguistics
- NLP
license: odc-by
task_categories:
- feature-extraction
---
# Noun Phrases Dataset

This dataset contains noun phrases extracted from [allenai/c4](https://huggingface.co/datasets/allenai/c4).

It includes two configurations: **uncased** and **cased**, with 1 895 908 and 2 000 002 entries, respectively.

### JSONL Fields

Each entry contains:
- **noun_phrase:** The extracted noun phrase.
- **count:** Frequency of occurrence.

#### Example Rows
```json
{"noun_phrase": "ship invoices", "count": 1}
{"noun_phrase": "\"river", "count": 1}
{"noun_phrase": "no boiler system", "count": 1}
```

### Construction

- **Cased Data:** Original noun phrases with preserved casing.
- **Uncased Data:** Constructed by normalizing cased data to lowercase, aggregating counts for identical phrases, and retaining the original phrase with the highest count.

### Preprocessing and Extraction

- [**Preprocessing:**](https://textacy.readthedocs.io/en/latest/api_reference/preprocessing.html) Unicode normalization, bracket removal, bullet point standardization, quotation mark normalization, and whitespace normalization.
- [**SpaCy:**](https://spacy.io/) Noun phrase extraction using the `"en_core_web_sm"` model. Articles such as "a" or "the" were removed.

### Original Data Source

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.

### Applications

Suitable for grammar analysis, linguistic studies, and natural language processing (NLP) tasks.

### Dataset Details

- **Language:** English (`en`)
- **Licence:** Open Data Commons License