lukeslp commited on
Commit
f07c353
·
verified ·
1 Parent(s): d942b9d

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +35 -71
README.md CHANGED
@@ -1,10 +1,9 @@
1
  ---
2
- license:
3
- - mit
4
- - cc-by-4.0
5
- - cc-by-sa-3.0
6
  task_categories:
7
  - feature-extraction
 
 
8
  tags:
9
  - linguistics
10
  - languages
@@ -16,94 +15,59 @@ tags:
16
  - endangered-languages
17
  - language-families
18
  - geospatial
 
19
  size_categories:
20
- - 100K<n<1M
21
  ---
22
 
23
- # Language Data
24
 
25
- Curated linguistic datasets covering 23,740 languages. Pulls from Glottolog, WALS, PHOIBLE, and Joshua Project, plus original integration work combining them into a single queryable format.
26
 
27
- ## Datasets
28
 
29
- ### Core Files
30
 
31
- | File | Records | Size | Source | License |
32
- |------|---------|------|--------|---------|
33
- | `glottolog_coordinates.json` | 21,329 languoids | 3.8 MB | [Glottolog](https://glottolog.org) | CC-BY-4.0 |
34
- | `glottolog_languoid.csv` | 23,740 languoids | 1.8 MB | [Glottolog](https://glottolog.org) | CC-BY-4.0 |
35
- | `phoible.csv` | 105,484 phonemes | 24 MB | [PHOIBLE](https://phoible.org) | CC-BY-SA-3.0 |
36
- | `wals_languages.csv` | 3,573 languages | 460 KB | [WALS](https://wals.info) | CC-BY-4.0 |
37
- | `wals_values.csv` | 76,475 feature values | 4.5 MB | [WALS](https://wals.info) | CC-BY-4.0 |
38
- | `wals_parameters.csv` | 192 typological features | 8 KB | [WALS](https://wals.info) | CC-BY-4.0 |
39
- | `world_languages_integrated.json` | 7,130 languages | 8.1 MB | Original integration | MIT |
40
 
41
- ### Subdirectories
42
 
43
- **`language-families/`** -- Language family trees, Proto-Indo-European reconstructions, speaker counts. Restructured from Glottolog with enrichment from multiple sources. 10 JSON files covering family hierarchies up to 18 levels deep.
44
-
45
- **`historical-corpora/`** -- CLMET historical English corpus metadata.
46
-
47
- **`lemmatization/`** -- Historical lemma mappings (738 entries) for normalizing older English texts.
48
-
49
- **`reference-corpora/`** -- Brown Corpus part-of-speech statistics.
50
-
51
- ## The Integrated Dataset
52
-
53
- `world_languages_integrated.json` is the main original contribution. It merges four sources by ISO 639-3 code:
54
 
55
- - **Glottolog** -- coordinates, family classification, macroarea (7,040 languages)
56
- - **Joshua Project** -- speaker populations, demographics (7,130 languages)
57
- - **Language history** -- family tree positions, historical periods (198 languages)
58
- - **US indigenous** -- endangerment status, revitalization efforts (13 languages)
59
 
60
- ```python
61
  import json
62
-
63
- with open("world_languages_integrated.json") as f:
64
- languages = json.load(f)
65
-
66
- # Each record looks like:
67
- # {
68
- # "iso_639_3": "eng",
69
- # "name": "English",
70
- # "glottolog": { "latitude": 53.0, "longitude": -1.0, "family_name": "Indo-European", ... },
71
- # "joshua_project": { "population": 379007140, "countries": [...], ... },
72
- # "speaker_count": { "count": 379007140, "source": "joshua_project_aggregated", ... },
73
- # "data_sources": ["joshua_project", "glottolog"]
74
- # }
75
-
76
- # Find endangered languages with coordinates
77
- endangered = [
78
- lang for lang in languages
79
- if lang.get("glottolog", {}).get("latitude")
80
- and lang.get("speaker_count", {}).get("count", float("inf")) < 1000
81
- ]
82
  ```
83
 
84
- This dataset is also available separately on HuggingFace as [lukeslp/world-languages](https://huggingface.co/datasets/lukeslp/world-languages).
85
 
86
- ## What's Not Here
87
-
88
- **ISO 639-3 code tables** -- SIL International doesn't allow redistribution. Get them directly from [iso639-3.sil.org](https://iso639-3.sil.org/code_tables/download_tables).
89
-
90
- ## License
91
-
92
- Multiple licenses apply. See [LICENSE.md](LICENSE.md) for details.
 
93
 
94
- - **Our work** (integration, curation, language-families): MIT
95
- - **Glottolog, WALS**: CC-BY-4.0
96
- - **PHOIBLE**: CC-BY-SA-3.0 (share-alike)
97
 
98
- ## Sources
99
 
100
- - [Glottolog](https://glottolog.org) -- Max Planck Institute for Evolutionary Anthropology
101
- - [WALS Online](https://wals.info) -- World Atlas of Language Structures
102
- - [PHOIBLE](https://phoible.org) -- Phonological inventory database
103
- - [Joshua Project](https://joshuaproject.net) -- People group demographics
104
 
105
  ## Author
106
 
107
  **Luke Steuber**
108
  - Website: [lukesteuber.com](https://lukesteuber.com)
109
  - Bluesky: [@lukesteuber.com](https://bsky.app/profile/lukesteuber.com)
 
 
 
 
 
 
1
  ---
2
+ license: other
 
 
 
3
  task_categories:
4
  - feature-extraction
5
+ language:
6
+ - en
7
  tags:
8
  - linguistics
9
  - languages
 
15
  - endangered-languages
16
  - language-families
17
  - geospatial
18
+ pretty_name: World Language Data Collection
19
  size_categories:
20
+ - 10K<n<100K
21
  ---
22
 
23
+ # World Language Data Collection
24
 
25
+ 23,740 languages: Glottolog, WALS, PHOIBLE + integrated world languages
26
 
27
+ Curated collection of linguistic datasets with original integration work. Includes geographic coordinates, typological features, phonological inventories, language family trees, and an integrated world languages dataset merging Glottolog, Joshua Project, and language history data. Original work under MIT; source data under CC-BY-4.0 (Glottolog, WALS) and CC-BY-SA-3.0 (PHOIBLE).
28
 
29
+ ## Dataset Structure
30
 
31
+ See `demo_notebook.ipynb` for data exploration examples.
 
 
 
 
 
 
 
 
32
 
33
+ ## Usage
34
 
35
+ ```python
36
+ from datasets import load_dataset
 
 
 
 
 
 
 
 
 
37
 
38
+ # Load the dataset
39
+ dataset = load_dataset("lukeslp/language-data")
 
 
40
 
41
+ # Or load from local files
42
  import json
43
+ with open('data.json') as f:
44
+ data = json.load(f)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  ```
46
 
47
+ ## Citation
48
 
49
+ ```bibtex
50
+ @dataset{language_data_2026,
51
+ title = {World Language Data Collection},
52
+ author = {Steuber, Luke},
53
+ year = {2026},
54
+ url = {https://huggingface.co/datasets/lukeslp/language-data}
55
+ }
56
+ ```
57
 
 
 
 
58
 
59
+ ## Distribution
60
 
61
+ - **GitHub**: [lukeslp/language-data](https://github.com/lukeslp/language-data)
62
+ - **Kaggle**: [lucassteuber/language-data](https://www.kaggle.com/datasets/lucassteuber/language-data)
 
 
63
 
64
  ## Author
65
 
66
  **Luke Steuber**
67
  - Website: [lukesteuber.com](https://lukesteuber.com)
68
  - Bluesky: [@lukesteuber.com](https://bsky.app/profile/lukesteuber.com)
69
+ - Email: luke@lukesteuber.com
70
+
71
+ ## License
72
+
73
+ MIT