Datasets:
Upload folder using huggingface_hub
Browse files- HUGGINGFACE_README.md +56 -0
- KAGGLE_SETUP.md +65 -0
- README.md +56 -0
- dataset-metadata.json +19 -0
- world-languages-exploration.ipynb +105 -0
- world_languages_integrated.json +0 -0
HUGGINGFACE_README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- feature-extraction
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- languages
|
| 9 |
+
- linguistics
|
| 10 |
+
- nlp
|
| 11 |
+
- geospatial
|
| 12 |
+
- ethnography
|
| 13 |
+
pretty_name: World Languages
|
| 14 |
+
size_categories:
|
| 15 |
+
- 1K<n<10K
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# World Languages
|
| 19 |
+
|
| 20 |
+
7,130 world languages with geographic coordinates, speaker populations, language family classification, and ISO 639-3 codes. Integrated from multiple sources.
|
| 21 |
+
|
| 22 |
+
## Dataset Summary
|
| 23 |
+
|
| 24 |
+
| Metric | Value |
|
| 25 |
+
|--------|-------|
|
| 26 |
+
| Records | 7,130 |
|
| 27 |
+
| Format | JSON |
|
| 28 |
+
| Source | [Integrated (Glottolog, Ethnologue, Joshua Project)](https://glottolog.org/) |
|
| 29 |
+
|
| 30 |
+
## Usage
|
| 31 |
+
|
| 32 |
+
```python
|
| 33 |
+
from datasets import load_dataset
|
| 34 |
+
|
| 35 |
+
dataset = load_dataset("lukeslp/world-languages")
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
## License
|
| 39 |
+
|
| 40 |
+
CC-BY-4.0
|
| 41 |
+
|
| 42 |
+
## Citation
|
| 43 |
+
|
| 44 |
+
```bibtex
|
| 45 |
+
@dataset{world_languages_2026,
|
| 46 |
+
author = {Steuber, Luke},
|
| 47 |
+
title = {World Languages},
|
| 48 |
+
year = {2026},
|
| 49 |
+
publisher = {Hugging Face},
|
| 50 |
+
url = {https://huggingface.co/datasets/lukeslp/world-languages}
|
| 51 |
+
}
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
## Contact
|
| 55 |
+
|
| 56 |
+
Luke Steuber | luke@lukesteuber.com | @lukesteuber.com (Bluesky)
|
KAGGLE_SETUP.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Kaggle Setup Checklist - World Languages
|
| 2 |
+
|
| 3 |
+
Complete at: https://www.kaggle.com/datasets/lucassteuber/world-languages/settings
|
| 4 |
+
|
| 5 |
+
**Delete this file after completing setup.**
|
| 6 |
+
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
## Cover Image
|
| 10 |
+
|
| 11 |
+
Upload 1200x630px image representing the dataset.
|
| 12 |
+
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
## Provenance
|
| 16 |
+
|
| 17 |
+
### Source
|
| 18 |
+
|
| 19 |
+
| Source | URL | License |
|
| 20 |
+
|--------|-----|---------|
|
| 21 |
+
| Integrated (Glottolog, Ethnologue, Joshua Project) | https://glottolog.org/ | CC-BY-4.0 |
|
| 22 |
+
|
| 23 |
+
### Collection Methodology
|
| 24 |
+
|
| 25 |
+
```
|
| 26 |
+
Data extracted from Integrated (Glottolog, Ethnologue, Joshua Project) via API/bulk download.
|
| 27 |
+
All coordinates validated for bounds (-90 to 90 lat, -180 to 180 lon).
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
---
|
| 31 |
+
|
| 32 |
+
## License
|
| 33 |
+
|
| 34 |
+
Select: **CC-BY-4.0**
|
| 35 |
+
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
+
## Update Frequency
|
| 39 |
+
|
| 40 |
+
Select: **Annually** or **Not expected to update**
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
## File Description
|
| 45 |
+
|
| 46 |
+
### world_languages_integrated.json
|
| 47 |
+
|
| 48 |
+
```
|
| 49 |
+
JSON array containing 7,130 georeferenced records.
|
| 50 |
+
Each record includes latitude, longitude, name, and source-specific metadata.
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
---
|
| 54 |
+
|
| 55 |
+
## Tags
|
| 56 |
+
|
| 57 |
+
- languages
|
| 58 |
+
- linguistics
|
| 59 |
+
- nlp
|
| 60 |
+
- geospatial
|
| 61 |
+
- ethnography
|
| 62 |
+
|
| 63 |
+
---
|
| 64 |
+
|
| 65 |
+
**Delete this file after completing setup.**
|
README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- feature-extraction
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- languages
|
| 9 |
+
- linguistics
|
| 10 |
+
- nlp
|
| 11 |
+
- geospatial
|
| 12 |
+
- ethnography
|
| 13 |
+
pretty_name: World Languages
|
| 14 |
+
size_categories:
|
| 15 |
+
- 1K<n<10K
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# World Languages
|
| 19 |
+
|
| 20 |
+
7,130 world languages with geographic coordinates, speaker populations, language family classification, and ISO 639-3 codes. Integrated from multiple sources.
|
| 21 |
+
|
| 22 |
+
## Dataset Summary
|
| 23 |
+
|
| 24 |
+
| Metric | Value |
|
| 25 |
+
|--------|-------|
|
| 26 |
+
| Records | 7,130 |
|
| 27 |
+
| Format | JSON |
|
| 28 |
+
| Source | [Integrated (Glottolog, Ethnologue, Joshua Project)](https://glottolog.org/) |
|
| 29 |
+
|
| 30 |
+
## Usage
|
| 31 |
+
|
| 32 |
+
```python
|
| 33 |
+
from datasets import load_dataset
|
| 34 |
+
|
| 35 |
+
dataset = load_dataset("lukeslp/world-languages")
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
## License
|
| 39 |
+
|
| 40 |
+
CC-BY-4.0
|
| 41 |
+
|
| 42 |
+
## Citation
|
| 43 |
+
|
| 44 |
+
```bibtex
|
| 45 |
+
@dataset{world_languages_2026,
|
| 46 |
+
author = {Steuber, Luke},
|
| 47 |
+
title = {World Languages},
|
| 48 |
+
year = {2026},
|
| 49 |
+
publisher = {Hugging Face},
|
| 50 |
+
url = {https://huggingface.co/datasets/lukeslp/world-languages}
|
| 51 |
+
}
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
## Contact
|
| 55 |
+
|
| 56 |
+
Luke Steuber | luke@lukesteuber.com | @lukesteuber.com (Bluesky)
|
dataset-metadata.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "World Languages",
|
| 3 |
+
"id": "lucassteuber/world-languages",
|
| 4 |
+
"licenses": [
|
| 5 |
+
{
|
| 6 |
+
"name": "CC-BY-4.0"
|
| 7 |
+
}
|
| 8 |
+
],
|
| 9 |
+
"subtitle": "7K languages with coordinates, speakers, and classification",
|
| 10 |
+
"description": "# World Languages\n\n7,130 world languages integrated from **3 complementary sources** into a unified schema with geographic coordinates, speaker populations, language family classification, and ISO 639-3 codes.\n\n## What Makes This Dataset Original\n\nNo single source provides all these fields together:\n\n| Field | Primary Source | Why Needed |\n|-------|---------------|------------|\n| ISO 639-3 codes | Glottolog | Authoritative code registry |\n| Geographic coordinates | Ethnologue/Glottolog | Language homeland centroids |\n| Speaker populations | Joshua Project + Ethnologue | Population estimates |\n| Language family tree | Glottolog | Phylogenetic classification |\n| Endangerment status | Glottolog | UNESCO vitality levels |\n\n## Data Sources & Attribution\n\n| Source | Organization | URL | License |\n|--------|--------------|-----|--------|\n| Glottolog 4.8 | Max Planck Institute | glottolog.org | CC-BY-4.0 |\n| Ethnologue 25th ed | SIL International | ethnologue.com | Derived (summary data) |\n| Joshua Project | Joshua Project | joshuaproject.net | Public (API) |\n\n## Fields\n\n- `iso_639_3`: ISO 639-3 language code (primary key)\n- `name`: Language name (English)\n- `family`: Top-level language family\n- `latitude`, `longitude`: Geographic centroid\n- `speakers`: Estimated L1 speaker population\n- `status`: Endangerment status (safe/vulnerable/endangered/extinct)\n- `classification`: Full phylogenetic path\n\n## Integration Methodology\n\n1. Started with Glottolog as authoritative language inventory\n2. Joined speaker counts from Joshua Project (aggregated by ISO code)\n3. Filled coordinate gaps from Ethnologue where available\n4. Validated all coordinates against country boundaries\n\n## Records\n\n7,130 languages\n\n## License\n\nCC-BY-4.0 (integration by Luke Steuber; source data licenses apply)\n\n## Contact\n\nLuke Steuber | luke@lukesteuber.com | @lukesteuber.com (Bluesky)",
|
| 11 |
+
"keywords": [
|
| 12 |
+
"languages",
|
| 13 |
+
"linguistics",
|
| 14 |
+
"nlp",
|
| 15 |
+
"geospatial",
|
| 16 |
+
"ethnography"
|
| 17 |
+
],
|
| 18 |
+
"isPrivate": true
|
| 19 |
+
}
|
world-languages-exploration.ipynb
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "markdown",
|
| 5 |
+
"metadata": {},
|
| 6 |
+
"source": [
|
| 7 |
+
"# World Languages: 7,130 Languages Integrated\n",
|
| 8 |
+
"\n",
|
| 9 |
+
"Geographic coordinates, speaker populations, and language family classification from Glottolog, Ethnologue, and Joshua Project."
|
| 10 |
+
]
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"cell_type": "code",
|
| 14 |
+
"execution_count": null,
|
| 15 |
+
"metadata": {},
|
| 16 |
+
"outputs": [],
|
| 17 |
+
"source": [
|
| 18 |
+
"import json\n",
|
| 19 |
+
"import pandas as pd\n",
|
| 20 |
+
"\n",
|
| 21 |
+
"# Load the dataset\n",
|
| 22 |
+
"with open('world_languages_integrated.json') as f:\n",
|
| 23 |
+
" data = json.load(f)\n",
|
| 24 |
+
"\n",
|
| 25 |
+
"print(f'Total languages: {len(data):,}')"
|
| 26 |
+
]
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"cell_type": "code",
|
| 30 |
+
"execution_count": null,
|
| 31 |
+
"metadata": {},
|
| 32 |
+
"outputs": [],
|
| 33 |
+
"source": [
|
| 34 |
+
"# Convert to DataFrame\n",
|
| 35 |
+
"df = pd.DataFrame(data)\n",
|
| 36 |
+
"df.head()"
|
| 37 |
+
]
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"cell_type": "code",
|
| 41 |
+
"execution_count": null,
|
| 42 |
+
"metadata": {},
|
| 43 |
+
"outputs": [],
|
| 44 |
+
"source": [
|
| 45 |
+
"# Top language families by number of languages\n",
|
| 46 |
+
"if 'family' in df.columns:\n",
|
| 47 |
+
" family_counts = df['family'].value_counts().head(15)\n",
|
| 48 |
+
" print('Top 15 Language Families:')\n",
|
| 49 |
+
" print('=' * 40)\n",
|
| 50 |
+
" for family, count in family_counts.items():\n",
|
| 51 |
+
" print(f'{family}: {count:,} languages')"
|
| 52 |
+
]
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"cell_type": "code",
|
| 56 |
+
"execution_count": null,
|
| 57 |
+
"metadata": {},
|
| 58 |
+
"outputs": [],
|
| 59 |
+
"source": [
|
| 60 |
+
"# Languages with most speakers\n",
|
| 61 |
+
"if 'speakers' in df.columns:\n",
|
| 62 |
+
" top_speakers = df.nlargest(20, 'speakers')[['name', 'speakers', 'family']]\n",
|
| 63 |
+
" print('Top 20 Languages by Speaker Count:')\n",
|
| 64 |
+
" print(top_speakers.to_string(index=False))"
|
| 65 |
+
]
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"cell_type": "code",
|
| 69 |
+
"execution_count": null,
|
| 70 |
+
"metadata": {},
|
| 71 |
+
"outputs": [],
|
| 72 |
+
"source": [
|
| 73 |
+
"# Geographic coverage\n",
|
| 74 |
+
"valid_coords = df[(df['latitude'].notna()) & (df['longitude'].notna())]\n",
|
| 75 |
+
"print(f'Languages with coordinates: {len(valid_coords):,} ({len(valid_coords)/len(df)*100:.1f}%)')"
|
| 76 |
+
]
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"cell_type": "markdown",
|
| 80 |
+
"metadata": {},
|
| 81 |
+
"source": [
|
| 82 |
+
"## Data Sources\n",
|
| 83 |
+
"\n",
|
| 84 |
+
"| Source | Data Provided | License |\n",
|
| 85 |
+
"|--------|--------------|--------|\n",
|
| 86 |
+
"| Glottolog 4.8 | ISO codes, classification | CC-BY-4.0 |\n",
|
| 87 |
+
"| Ethnologue | Coordinates, speakers | Summary data |\n",
|
| 88 |
+
"| Joshua Project | Population data | Public API |"
|
| 89 |
+
]
|
| 90 |
+
}
|
| 91 |
+
],
|
| 92 |
+
"metadata": {
|
| 93 |
+
"kernelspec": {
|
| 94 |
+
"display_name": "Python 3",
|
| 95 |
+
"language": "python",
|
| 96 |
+
"name": "python3"
|
| 97 |
+
},
|
| 98 |
+
"language_info": {
|
| 99 |
+
"name": "python",
|
| 100 |
+
"version": "3.10.0"
|
| 101 |
+
}
|
| 102 |
+
},
|
| 103 |
+
"nbformat": 4,
|
| 104 |
+
"nbformat_minor": 4
|
| 105 |
+
}
|
world_languages_integrated.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|