Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Could not read the parquet files: Parquet file size is 0 bytes
Error code:   FileSystemError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

string_1_id
int64
string_2_id
int64
frequency
int64
significance
float64
207
714
4
15.74
2,754
137
5
23.52
21,079
1,376
4
77.39
1,471
106
7
8.07
1,090
206
3
13.07
1,056
119
12
37.63
101
2,390
13
15.27
128
1,122
6
16.19
103
1,847
73
472.11
102
1,963
7
6.7
1,523
449
4
32.66
116
10,147
3
17.35
2,479
109
4
7.15
104
5,343
3
5.98
1,080
125
7
19.03
8,815
101
4
8.17
12
2,485
7
7.22
101
1,011
66
163.23
12
273
102
115.82
688
1,457
3
25.33
8,819
102
4
13.42
180
709
4
13.38
15,615
15,900
6
164.14
121
4,414
4
17.26
83
165
13
22.87
121
2,803
7
30.21
776
186
3
9.34
15,017
116
3
20.63
101
8,006
8
26.46
249
250
5
13.71
3,786
107
3
4.95
129
62
192
224.51
158
132
28
13.02
1,171
9
11
45.38
12
1,685
12
14.07
1,774
14
15
16.99
212
376
11
50.89
9,729
12
3
7.48
213
253
3
4.04
157
803
6
20.57
1,199
57
9
35.97
101
1,656
29
54.68
512
8
6
7.93
8,142
14
3
4.53
4,014
110
3
7.02
351
332
4
15.76
152
203
39
121.59
101
17,438
5
29
332
236
13
65.77
5,821
572
5
62.7
122
2,950
3
8.54
4,018
107
3
5.36
2
28,211
3
35.93
2,797
110
5
12.33
112
2,823
3
5.94
113
2,963
3
6.79
767
106
15
17.15
135
2,553
3
10.25
133
944
7
19.9
166
167
13
9.57
108
1,417
5
4.48
2,230
131
3
9.07
6,903
350
8
104
146
579
5
10.11
170
162
10
4.87
85
18,726
5
63.69
20,081
114
3
22.48
365
688
3
15.74
3,006
12
6
6.85
13,973
119
4
31.15
184
8,982
3
26.97
101
12,231
5
17.09
4,442
123
3
11.95
1,156
125
3
4.24
144
127
553
2,596.3
743
14
39
40.89
11,608
9,314
6
136.04
853
787
4
32.13
1,745
103
28
100.11
136
1,653
5
17.76
13,058
105
4
21.63
108
6,949
6
28.85
148
8,479
4
32.24
123
9,688
3
17.96
165
1,944
5
26.37
106
1,019
11
13.41
111
1,119
26
105.11
432
111
44
128
141
420
31
137.15
13
717
26
177.32
111
16,920
4
29.76
173
2,289
4
22.15
108
19,697
3
19.04
4,273
107
4
9.83
9,268
104
5
23.03
5,132
9,957
5
97.99
117
293
13
8.42
614
7
7
7.58
119
662
5
3.95
10,575
9
3
21.25
End of preview.

Leipzig Corpora Frequency Data

Word frequency lists and co-occurrence data from the Leipzig Corpora Collection, converted to Parquet.

Covers hundreds of languages across news, web, Wikipedia, and mixed sources. Each corpus includes token frequencies, source provenance, and statistical co-occurrence pairs.

Contents

base/
  <language>/
    <source>-<date>-<size>/
      metadata.json
      string.0001.parquet
      source.0001.parquet
      cooccurrence.sentence.0001.parquet
      cooccurrence.neighbor.0001.parquet

Shards are split at ~200-400 MB each. Small corpora may have a single shard. Large corpora have multiple (0001.parquet, 0002.parquet, etc.).

Example: base/afr/news-2020-30K/string.0001.parquet

Languages use ISO 639-3 codes, sometimes with region suffixes (e.g. ara-eg for Egyptian Arabic).

Files per corpus

File Format Description
metadata.json JSON Language, source type, date, size, original filename
string.NNNN.parquet Parquet Token frequency list (words and punctuation)
source.NNNN.parquet Parquet Source article URLs and dates
cooccurrence.sentence.NNNN.parquet Parquet Word pairs appearing in the same sentence
cooccurrence.neighbor.NNNN.parquet Parquet Word pairs appearing adjacent to each other

"Strings" instead of "words" because the list includes punctuation, special characters, and other non-word tokens alongside actual words.

Parquet files use ZSTD compression for ~4x smaller size than equivalent JSONL, with column-wise reads for fast filtering.

Usage

from datasets import load_dataset

ds = load_dataset("cluesurf/leipzig-frequency")

Or query directly with DuckDB:

SELECT text, frequency
FROM 'base/afr/news-2020-30K/string.*.parquet'
ORDER BY frequency DESC
LIMIT 20;

Record schemas

metadata.json

{
  "language": "afr",
  "source": "news",
  "date": "2020",
  "size": "30K",
  "file": "afr_news_2020_30K"
}

string.NNNN.parquet

Column Type
id int32
text string
frequency int64

Example row: { id: 101, text: "die", frequency: 30994 }

source.NNNN.parquet

Column Type
id int32
url string
date string

Example row: { id: 1, url: "https://carletonvilleherald.com/...", date: "2020-05-17" }

cooccurrence.sentence.NNNN.parquet

Column Type
string_1_id int32
string_2_id int32
frequency int64
significance float64

Example row: { string_1_id: 116, string_2_id: 4688, frequency: 5, significance: 7.61 }

cooccurrence.neighbor.NNNN.parquet

Same schema as cooccurrence.sentence, but for words appearing adjacent to each other rather than in the same sentence.

Source

Downloaded from the Leipzig Corpora Collection at the University of Leipzig.

Original archives are .tar.gz files containing tab-delimited .txt data following the Wortschatz database schema.

Sources

License

CC-BY-4.0, as specified by the Leipzig Corpora Collection.

Downloads last month
14