lukeslp commited on
Commit
e583581
·
verified ·
1 Parent(s): 2f7e018

Upload language-families/language_families_metadata.json with huggingface_hub

Browse files
language-families/language_families_metadata.json ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_name": "Language Family Trees - World Languages Phylogeny",
3
+ "last_updated": "2026-01-18",
4
+ "consolidation_date": "2026-01-18",
5
+ "source": "Glottolog 4.8, Ethnologue 25th edition, Wikidata, Unicode CLDR",
6
+ "total_languages": 360,
7
+ "file_count": 9,
8
+ "total_size_mb": 12,
9
+ "canonical_location": "/home/coolhand/html/datavis/data_trove/data/linguistic/language-families/",
10
+ "symlink_locations": [
11
+ "/home/coolhand/html/datavis/language/data/"
12
+ ],
13
+ "files": {
14
+ "language-history.json": {
15
+ "size_mb": 4.8,
16
+ "nodes": 360,
17
+ "type": "Primary version",
18
+ "purpose": "Standard hierarchical tree for most visualizations",
19
+ "structure": "Full depth (up to 12 levels)",
20
+ "recommended_for": ["tree layouts", "force-directed networks", "hierarchical visualizations"]
21
+ },
22
+ "language-history-depth6.json": {
23
+ "size_mb": 1.9,
24
+ "nodes": 360,
25
+ "type": "Flattened version",
26
+ "purpose": "Optimized for visualizations with limited vertical space",
27
+ "structure": "Maximum depth of 6 levels",
28
+ "recommended_for": ["radial dendrograms", "small screens", "space-constrained layouts"]
29
+ },
30
+ "language-history-glottolog.json": {
31
+ "size_mb": 4.6,
32
+ "nodes": 360,
33
+ "type": "Enriched version",
34
+ "purpose": "Includes Glottolog metadata for research",
35
+ "additional_fields": ["glottolog_code", "coordinates", "status", "alternative_names"],
36
+ "recommended_for": ["academic visualizations", "linguistic research", "geographic mapping"]
37
+ },
38
+ "pie-full.json": {
39
+ "size_kb": 160,
40
+ "scope": "Proto-Indo-European family only",
41
+ "type": "Complete PIE tree",
42
+ "purpose": "All documented Indo-European languages",
43
+ "branches": ["Germanic", "Romance", "Slavic", "Indo-Iranian", "Celtic", "Hellenic"],
44
+ "recommended_for": ["comprehensive PIE visualization", "Indo-European focused projects"]
45
+ },
46
+ "pie-curated.json": {
47
+ "size_kb": 98,
48
+ "scope": "Proto-Indo-European family only",
49
+ "type": "Curated PIE subset",
50
+ "purpose": "Major Indo-European languages (simplified)",
51
+ "recommended_for": ["educational visualizations", "overview presentations"]
52
+ },
53
+ "pie-hybrid.json": {
54
+ "size_kb": 75,
55
+ "scope": "Proto-Indo-European family only",
56
+ "type": "Hybrid PIE format",
57
+ "purpose": "Balanced detail - comprehensive but manageable",
58
+ "recommended_for": ["web-based exploratory interfaces", "progressive disclosure"]
59
+ },
60
+ "speaker_counts.json": {
61
+ "size_kb": 6,
62
+ "type": "Supporting data",
63
+ "format": "{ iso_639_3: population }",
64
+ "purpose": "Speaker population statistics for size encoding",
65
+ "recommended_for": ["bubble charts", "proportional node sizing"]
66
+ },
67
+ "iso-639-3-aliases.json": {
68
+ "size_kb": 4,
69
+ "type": "Supporting data",
70
+ "format": "{ iso_code: [alias1, alias2] }",
71
+ "purpose": "Alternative names and aliases for search functionality",
72
+ "recommended_for": ["search", "autocomplete", "name disambiguation"]
73
+ },
74
+ "language_evolution.json": {
75
+ "size_kb": 37,
76
+ "source": "Diachronica etymology server",
77
+ "type": "Alternative phylogenetic format",
78
+ "purpose": "Etymology-based tree structure for cross-reference",
79
+ "recommended_for": ["etymology research", "comparative linguistics"]
80
+ }
81
+ },
82
+ "consuming_projects": [
83
+ {
84
+ "project": "Poems Language Visualizations",
85
+ "location": "/home/coolhand/html/datavis/poems/language/",
86
+ "files": ["pie.html", "pie-standalone.html", "network.html", "radial-tree.html", "pie/blueprint.html"],
87
+ "access_method": "Symlink (../../language/data/language-history.json)",
88
+ "impact": "No code changes needed - symlinks maintain compatibility"
89
+ },
90
+ {
91
+ "project": "Etymology Server",
92
+ "location": "/home/coolhand/servers/diachronica/etymology/",
93
+ "access_method": "Config path via symlink",
94
+ "impact": "Python follows symlinks automatically"
95
+ },
96
+ {
97
+ "project": "Language Datavis",
98
+ "location": "/home/coolhand/html/datavis/language/",
99
+ "access_method": "Local symlinks in data/ directory",
100
+ "impact": "Transparent access to canonical data_trove location"
101
+ },
102
+ {
103
+ "project": "PNW Isolates",
104
+ "location": "/home/coolhand/html/datavis/interactive/pnw-isolates/",
105
+ "access_method": "May reference for context",
106
+ "impact": "Minimal"
107
+ }
108
+ ],
109
+ "backward_compatibility": {
110
+ "strategy": "Symlinks at original locations",
111
+ "symlink_type": "Absolute paths",
112
+ "rationale": "Maintains all existing imports without code changes",
113
+ "verification": "All poems visualizations and etymology server tested"
114
+ },
115
+ "data_provenance": {
116
+ "primary_source": "Glottolog 4.8 (glottolog.org)",
117
+ "secondary_sources": ["Ethnologue 25th edition", "Wikidata", "Unicode CLDR"],
118
+ "etymology_source": "Diachronica database",
119
+ "speaker_counts": ["Ethnologue", "National census data", "Glottolog estimates"]
120
+ },
121
+ "update_schedule": {
122
+ "glottolog": "Annual (typically February)",
123
+ "ethnologue": "Annual (typically mid-year)",
124
+ "recommended_refresh": "Annually after Glottolog release"
125
+ },
126
+ "validation": {
127
+ "json_valid": true,
128
+ "node_count": 360,
129
+ "symlinks_tested": true,
130
+ "poems_visualizations_tested": "Pending",
131
+ "etymology_server_tested": "Pending"
132
+ },
133
+ "license": "CC BY 4.0 (Creative Commons Attribution)",
134
+ "notes": [
135
+ "This is the canonical storage location - all other locations are symlinks",
136
+ "Files previously scattered across 3 locations (language/data/, _archive/, diachronica/etymology/)",
137
+ "Consolidation eliminates 27MB of duplication",
138
+ "All ISO 639-3 codes are three-letter standard identifiers",
139
+ "Geographic coordinates use [longitude, latitude] format (GeoJSON convention)",
140
+ "Node IDs are unique within each file but may differ between versions"
141
+ ]
142
+ }