madiedgar commited on
Commit
1bd2094
·
verified ·
1 Parent(s): 2664b28

canon export

Browse files
Files changed (4) hide show
  1. README.md +87 -68
  2. data/canon.parquet +2 -2
  3. data/locales.parquet +2 -2
  4. reconciliation.json +2 -2
README.md CHANGED
@@ -76,26 +76,32 @@ configs:
76
 
77
  ## What this canon is
78
 
79
- **In Amharic, `if` is `ከሆነ`. In Arabic, `return` is `إرجاع`.**
 
80
 
81
- The word each programming concept goes by in each human language —
82
- 184 concepts across 51 languages,
83
- 9,375 decisions in all, every one of them carrying the amount of
84
- review that stands behind it.
85
 
86
- Programming languages are written in English. `if`, `while`, `class`,
87
- `import`: a developer who does not read English is memorising shapes. Choosing
88
- what those concepts are called in someone's own language is the work, and
89
- choosing *well* is a question only speakers of that language can settle.
 
 
 
 
 
 
 
 
90
 
91
- This is a **growing dataset**. A rendering here is the current answer, not a
92
- final one: renderings change as speakers of the language weigh in, and each
93
- one's rung records how much of that has happened yet. Treat a revision as a
94
- snapshot of the decisions to date.
95
 
96
  Renderings are keyed by content-addressed uids (`opt_` + 24 hex) shared with
97
- [`legesher/language-corpus`](https://huggingface.co/datasets/legesher/language-corpus),
98
- so an `option_uid` resolves there to every alternative that was proposed for
99
  that concept and every endorsement attached to them.
100
 
101
  ## Languages
@@ -107,53 +113,53 @@ the Hub indexes for search; this is the full list, script subtags and all.
107
  | Tag | Language | Native name | Renderings | `machine` | `experimental` | `reviewed` | `official` |
108
  | --- | --- | --- | ---: | ---: | ---: | ---: | ---: |
109
  | `am` | Amharic | አማርኛ | 184 | 184 | 0 | 0 | 0 |
110
- | `ar` | Arabic | العربية | 184 | 184 | 0 | 0 | 0 |
111
- | `bn` | Bengali | বাংলা | 184 | 184 | 0 | 0 | 0 |
112
  | `bs` | Bosnian | Bosanski | 184 | 184 | 0 | 0 | 0 |
113
  | `ca` | Catalan | Català | 184 | 184 | 0 | 0 | 0 |
114
  | `cs` | Czech | Čeština | 184 | 184 | 0 | 0 | 0 |
115
  | `cy` | Welsh | Cymraeg | 184 | 184 | 0 | 0 | 0 |
116
  | `da` | Danish | Dansk | 183 | 183 | 0 | 0 | 0 |
117
- | `de` | German | Deutsch | 183 | 183 | 0 | 0 | 0 |
118
  | `el` | Greek | Ελληνικά | 184 | 184 | 0 | 0 | 0 |
119
  | `en` | English | English | 184 | 184 | 0 | 0 | 0 |
120
- | `es` | Spanish | Español | 184 | 184 | 0 | 0 | 0 |
121
  | `fa` | Persian | فارسی | 184 | 184 | 0 | 0 | 0 |
122
- | `fi` | Finnish | Suomi | 183 | 183 | 0 | 0 | 0 |
123
  | `fr` | French | Français | 184 | 184 | 0 | 0 | 0 |
124
  | `ga` | Irish | Gaeilge | 184 | 184 | 0 | 0 | 0 |
125
  | `gd` | Scottish Gaelic | Gàidhlig | 184 | 184 | 0 | 0 | 0 |
126
  | `gl` | Galician | Galego | 184 | 184 | 0 | 0 | 0 |
127
- | `gu` | Gujarati | ગુજરાતી | 184 | 184 | 0 | 0 | 0 |
128
- | `he` | Hebrew | עברית | 184 | 184 | 0 | 0 | 0 |
129
- | `hi` | Hindi | हिन्दी | 183 | 183 | 0 | 0 | 0 |
130
  | `hr` | Croatian | Hrvatski | 184 | 184 | 0 | 0 | 0 |
131
  | `hu` | Hungarian | Magyar | 184 | 184 | 0 | 0 | 0 |
132
- | `id` | Indonesian | Bahasa Indonesia | 184 | 184 | 0 | 0 | 0 |
133
- | `it` | Italian | Italiano | 184 | 184 | 0 | 0 | 0 |
134
  | `ja` | Japanese | 日本語 | 184 | 184 | 0 | 0 | 0 |
135
  | `kn` | Kannada | ಕನ್ನಡ | 184 | 184 | 0 | 0 | 0 |
136
  | `ko` | Korean | 한국어 | 184 | 184 | 0 | 0 | 0 |
137
  | `lv` | Latvian | Latviešu | 184 | 184 | 0 | 0 | 0 |
138
  | `mk` | Macedonian | Македонски | 183 | 183 | 0 | 0 | 0 |
139
- | `ml` | Malayalam | മലയാളം | 184 | 184 | 0 | 0 | 0 |
140
  | `mn-Cyrl` | Mongolian | Монгол | 184 | 184 | 0 | 0 | 0 |
141
  | `ms` | Malay | Bahasa Melayu | 184 | 184 | 0 | 0 | 0 |
142
  | `my` | Burmese | မြန်မာ | 184 | 184 | 0 | 0 | 0 |
143
  | `nb` | Norwegian | Norsk | 184 | 184 | 0 | 0 | 0 |
144
  | `nl` | Dutch | Nederlands | 184 | 184 | 0 | 0 | 0 |
145
  | `pl` | Polish | Polski | 184 | 184 | 0 | 0 | 0 |
146
- | `pt` | Portuguese | Português | 183 | 183 | 0 | 0 | 0 |
147
  | `ro` | Romanian | Română | 184 | 184 | 0 | 0 | 0 |
148
  | `ru` | Russian | Русский | 183 | 183 | 0 | 0 | 0 |
149
  | `si` | Sinhala | සිංහල | 184 | 184 | 0 | 0 | 0 |
150
  | `sr-Cyrl` | Serbian | Српски | 184 | 184 | 0 | 0 | 0 |
151
  | `su` | Sundanese | Basa Sunda | 184 | 184 | 0 | 0 | 0 |
152
  | `sv` | Swedish | Svenska | 184 | 184 | 0 | 0 | 0 |
153
- | `te` | Telugu | తెలుగు | 183 | 183 | 0 | 0 | 0 |
154
  | `th` | Thai | ไทย | 183 | 183 | 0 | 0 | 0 |
155
  | `tr` | Turkish | Türkçe | 184 | 184 | 0 | 0 | 0 |
156
- | `ur` | Urdu | اردو | 184 | 183 | 1 | 0 | 0 |
157
  | `uz-Latn` | Uzbek | O'zbek | 184 | 184 | 0 | 0 | 0 |
158
  | `vi` | Vietnamese | Tiếng Việt | 184 | 184 | 0 | 0 | 0 |
159
  | `zh-Hans` | Chinese | 中文 | 184 | 153 | 31 | 0 | 0 |
@@ -163,65 +169,77 @@ than read it.
163
 
164
  ## The maturity ladder
165
 
166
- Every rendering carries a rung. It is the honest answer to "how much human
167
- judgement is behind this word?", and it is the most important column here.
 
 
 
 
168
 
169
  ### `machine`
170
 
171
- Selected without anyone judging this particular word carried over from a
172
- shipped language pack, or picked by a batch job resolving a collision.
173
 
174
- It is not arbitrary. Every rendering clears mechanical gates before it can be
175
- selected at all: it has to be a valid identifier in its language, stable under
176
- the Unicode normalisation the interpreter applies, and free of collisions with
177
- other terms in its own vocabulary. What no one has asked is whether it is the
178
- *right* word — whether a programmer who speaks that language would recognise
179
- it, or would wince.
180
 
181
- **Treat these as proposals.**
182
 
183
  ### `experimental`
184
 
185
- A person has looked at this specific rendering and kept it, replaced it, or
186
- rewritten it — a maintainer curating a batch, or a native speaker of the
187
- language making a correction.
188
 
189
- One informed opinion stands behind it. That is meaningfully more than
190
- `machine` and meaningfully less than agreement, which is why it is its own
191
- rung rather than folded into either neighbour.
 
 
 
 
 
192
 
193
  ### `reviewed`
194
 
195
- Native speakers have signed off, and more than one, so the rendering reflects
196
- agreement rather than a single person's preference.
197
 
198
- The risk with one reviewer is not that they are wrong it is that they are
199
- unrepresentative. A regional form, a register that reads formal or childish
200
- somewhere else, a loanword one community has absorbed and another rejects.
201
- More than one voice is what turns a rendering into a *shared* answer.
202
 
203
- **How many voices, and how varied, is still being defined.** We would rather
204
- say so than publish a threshold we have not actually set.
205
 
206
  ### `official`
207
 
208
  Ratified in a convened session, and screened.
209
 
210
- Screening is a separate axis from accuracy: a rendering can be a perfectly
211
- correct translation and still be the wrong word to ship offensive in another
212
- register, unfortunate beside a neighbouring term, or colliding with something
213
- in the language it should not. `official` means both questions were asked and
214
- answered by people with standing to answer them.
215
 
216
- This is a decision a language community makes. It is not a number a counter
217
- reaches.
218
 
219
  ### Where things stand today
220
 
221
- 0 renderings are at `reviewed` or above. 32 have had a
222
- native speaker's attention, one reviewer each, which is why they sit at
223
- `experimental`. The remaining 9,343 are machine or maintainer
224
- selections that **no native speaker has looked at yet.**
 
 
 
 
 
225
 
226
  We publish at this stage deliberately. A terminology set developed privately
227
  and released once it is "ready" has already made every decision without the
@@ -274,9 +292,10 @@ rendering, `decided_by` says **who** made the most recent call. A single
274
  native reviewer is visible here without moving the rung, because their
275
  judgement is real and is not yet a consensus.
276
 
277
- If you program in one of these languages, or speak one not yet covered, these
278
- renderings want your eyes. Corrections, endorsements and objections all move a
279
- rendering up the ladder and disagreement is a contribution, not an obstacle.
 
280
 
281
  ## Licence and citation
282
 
 
76
 
77
  ## What this canon is
78
 
79
+ A centralized standard, created and curated by language communities, for what
80
+ programming concepts are called in each natural language.
81
 
82
+ It holds language-specific renderings of programming keywords, builtins and
83
+ exceptions — 184 concepts across 51
84
+ languages, 9,375 decisions and documents where each language
85
+ stands in that process.
86
 
87
+ It builds on
88
+ [`legesher/language-corpus`](https://huggingface.co/datasets/legesher/language-corpus),
89
+ which gathers every rendering anyone has proposed. The corpus is the full
90
+ record of what has been suggested; the canon is the vocabulary that downstream
91
+ applications actually use.
92
+
93
+ Programming languages are written in English, so a developer who does not read
94
+ English is memorising shapes rather than reading words. The hard part is not
95
+ the obvious vocabulary. It is the gray areas, where words are borrowed,
96
+ created, or derived from English — `elif` and `lambda` have no obvious answer
97
+ in any language, and settling them takes people who know a language's culture
98
+ and the stories woven into it, not only its grammar.
99
 
100
+ This is a growing dataset. A rendering here is the current answer, not a final
101
+ one, and each carries a rung recording how much review stands behind it.
 
 
102
 
103
  Renderings are keyed by content-addressed uids (`opt_` + 24 hex) shared with
104
+ the corpus, so an `option_uid` resolves there to every alternative proposed for
 
105
  that concept and every endorsement attached to them.
106
 
107
  ## Languages
 
113
  | Tag | Language | Native name | Renderings | `machine` | `experimental` | `reviewed` | `official` |
114
  | --- | --- | --- | ---: | ---: | ---: | ---: | ---: |
115
  | `am` | Amharic | አማርኛ | 184 | 184 | 0 | 0 | 0 |
116
+ | `ar` | Arabic | العربية | 184 | 181 | 3 | 0 | 0 |
117
+ | `bn` | Bengali | বাংলা | 184 | 145 | 39 | 0 | 0 |
118
  | `bs` | Bosnian | Bosanski | 184 | 184 | 0 | 0 | 0 |
119
  | `ca` | Catalan | Català | 184 | 184 | 0 | 0 | 0 |
120
  | `cs` | Czech | Čeština | 184 | 184 | 0 | 0 | 0 |
121
  | `cy` | Welsh | Cymraeg | 184 | 184 | 0 | 0 | 0 |
122
  | `da` | Danish | Dansk | 183 | 183 | 0 | 0 | 0 |
123
+ | `de` | German | Deutsch | 183 | 147 | 36 | 0 | 0 |
124
  | `el` | Greek | Ελληνικά | 184 | 184 | 0 | 0 | 0 |
125
  | `en` | English | English | 184 | 184 | 0 | 0 | 0 |
126
+ | `es` | Spanish | Español | 184 | 131 | 53 | 0 | 0 |
127
  | `fa` | Persian | فارسی | 184 | 184 | 0 | 0 | 0 |
128
+ | `fi` | Finnish | Suomi | 183 | 171 | 12 | 0 | 0 |
129
  | `fr` | French | Français | 184 | 184 | 0 | 0 | 0 |
130
  | `ga` | Irish | Gaeilge | 184 | 184 | 0 | 0 | 0 |
131
  | `gd` | Scottish Gaelic | Gàidhlig | 184 | 184 | 0 | 0 | 0 |
132
  | `gl` | Galician | Galego | 184 | 184 | 0 | 0 | 0 |
133
+ | `gu` | Gujarati | ગુજરાતી | 184 | 143 | 41 | 0 | 0 |
134
+ | `he` | Hebrew | עברית | 184 | 139 | 45 | 0 | 0 |
135
+ | `hi` | Hindi | हिन्दी | 183 | 146 | 37 | 0 | 0 |
136
  | `hr` | Croatian | Hrvatski | 184 | 184 | 0 | 0 | 0 |
137
  | `hu` | Hungarian | Magyar | 184 | 184 | 0 | 0 | 0 |
138
+ | `id` | Indonesian | Bahasa Indonesia | 184 | 145 | 39 | 0 | 0 |
139
+ | `it` | Italian | Italiano | 184 | 137 | 47 | 0 | 0 |
140
  | `ja` | Japanese | 日本語 | 184 | 184 | 0 | 0 | 0 |
141
  | `kn` | Kannada | ಕನ್ನಡ | 184 | 184 | 0 | 0 | 0 |
142
  | `ko` | Korean | 한국어 | 184 | 184 | 0 | 0 | 0 |
143
  | `lv` | Latvian | Latviešu | 184 | 184 | 0 | 0 | 0 |
144
  | `mk` | Macedonian | Македонски | 183 | 183 | 0 | 0 | 0 |
145
+ | `ml` | Malayalam | മലയാളം | 184 | 170 | 14 | 0 | 0 |
146
  | `mn-Cyrl` | Mongolian | Монгол | 184 | 184 | 0 | 0 | 0 |
147
  | `ms` | Malay | Bahasa Melayu | 184 | 184 | 0 | 0 | 0 |
148
  | `my` | Burmese | မြန်မာ | 184 | 184 | 0 | 0 | 0 |
149
  | `nb` | Norwegian | Norsk | 184 | 184 | 0 | 0 | 0 |
150
  | `nl` | Dutch | Nederlands | 184 | 184 | 0 | 0 | 0 |
151
  | `pl` | Polish | Polski | 184 | 184 | 0 | 0 | 0 |
152
+ | `pt` | Portuguese | Português | 183 | 133 | 50 | 0 | 0 |
153
  | `ro` | Romanian | Română | 184 | 184 | 0 | 0 | 0 |
154
  | `ru` | Russian | Русский | 183 | 183 | 0 | 0 | 0 |
155
  | `si` | Sinhala | සිංහල | 184 | 184 | 0 | 0 | 0 |
156
  | `sr-Cyrl` | Serbian | Српски | 184 | 184 | 0 | 0 | 0 |
157
  | `su` | Sundanese | Basa Sunda | 184 | 184 | 0 | 0 | 0 |
158
  | `sv` | Swedish | Svenska | 184 | 184 | 0 | 0 | 0 |
159
+ | `te` | Telugu | తెలుగు | 183 | 155 | 28 | 0 | 0 |
160
  | `th` | Thai | ไทย | 183 | 183 | 0 | 0 | 0 |
161
  | `tr` | Turkish | Türkçe | 184 | 184 | 0 | 0 | 0 |
162
+ | `ur` | Urdu | اردو | 184 | 154 | 30 | 0 | 0 |
163
  | `uz-Latn` | Uzbek | O'zbek | 184 | 184 | 0 | 0 | 0 |
164
  | `vi` | Vietnamese | Tiếng Việt | 184 | 184 | 0 | 0 | 0 |
165
  | `zh-Hans` | Chinese | 中文 | 184 | 153 | 31 | 0 | 0 |
 
169
 
170
  ## The maturity ladder
171
 
172
+ Without other global examples to build from, each language's canon starts
173
+ drafted from machines and prior art. From there native speakers move it up:
174
+ `experimental`, then `reviewed`, then `official`. Once a language reaches
175
+ `official`, its canon becomes a resource for the community it exists to serve.
176
+
177
+ Every rendering carries its own rung, so a language moves as its words do.
178
 
179
  ### `machine`
180
 
181
+ Drafted, not decided. The rendering came from a machine draft or from prior
182
+ art, and no one has weighed in on it since.
183
 
184
+ It is not arbitrary. Every rendering clears mechanical checks before it can be
185
+ selected: it has to be a valid identifier in its language, stable under the
186
+ Unicode normalisation the interpreter applies, and free of collisions with
187
+ other terms in its vocabulary. What nobody has asked is whether it is the right
188
+ word — whether a programmer who speaks the language would recognise it.
 
189
 
190
+ Treat these as proposals.
191
 
192
  ### `experimental`
193
 
194
+ A person has engaged with this specific rendering. Either they **chose** it — a
195
+ maintainer curating a batch, a native speaker correcting the word — or they
196
+ **endorsed** it, putting their name behind a rendering someone else proposed.
197
 
198
+ Most of the endorsements here predate this dataset: they are the review history
199
+ of the community that built Legesher's original translations, where
200
+ contributors voted on renderings word by word. An endorsement attaches to the
201
+ specific option that was later selected, so it is evidence about *this word*,
202
+ not about the concept in general.
203
+
204
+ At least one person has weighed in. That is not yet agreement, which is why
205
+ `experimental` is its own rung.
206
 
207
  ### `reviewed`
208
 
209
+ Several native speakers have signed off, so the rendering reflects agreement
210
+ rather than one person's preference.
211
 
212
+ The risk with a single reviewer is not that they are wrong. It is that they are
213
+ unrepresentative a regional form, a register that reads formal or childish
214
+ elsewhere, a loanword one community has absorbed and another rejects. More than
215
+ one voice is what makes a rendering a shared answer.
216
 
217
+ How many voices, and how varied, is still being defined. We would rather say so
218
+ than publish a threshold we have not set.
219
 
220
  ### `official`
221
 
222
  Ratified in a convened session, and screened.
223
 
224
+ Screening is separate from accuracy. A rendering can be a correct translation
225
+ and still be the wrong word to ship: offensive in another register, unfortunate
226
+ beside a neighbouring term, or colliding with something it should not. A rung
227
+ of `official` means both questions were asked and answered by people with
228
+ standing to answer them.
229
 
230
+ A language community makes this decision, not a threshold.
 
231
 
232
  ### Where things stand today
233
 
234
+ 0 renderings are at `reviewed` or above.
235
+
236
+ 505 sit at `experimental` chosen or endorsed by at least one
237
+ person, across 15 of the 51 languages here. The
238
+ remaining 8,870 are machine or maintainer selections that **no one has
239
+ weighed in on yet.**
240
+
241
+ Nothing has reached `reviewed`, because that needs more than one voice and the
242
+ threshold is not set.
243
 
244
  We publish at this stage deliberately. A terminology set developed privately
245
  and released once it is "ready" has already made every decision without the
 
292
  native reviewer is visible here without moving the rung, because their
293
  judgement is real and is not yet a consensus.
294
 
295
+ This requires collaboration from people who do not just speak a language other
296
+ than English, but know its culture. If that is you, corrections, endorsements
297
+ and objections all move a rendering up the ladder, and disagreement is a
298
+ contribution rather than an obstacle.
299
 
300
  ## Licence and citation
301
 
data/canon.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5185714e5fc380fb41d01fed10592160c02b1395a4a1e2865f912be2080e3359
3
- size 373985
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e764ecdc61b425296e4a578fbf0f3ca80acd94763f120de2b1e69f24ec6abe6
3
+ size 374385
data/locales.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:04b6133f7658ab5dafe50d6236b3ca72f7b39af428f0fc5d4e4530008a49e09f
3
- size 4562
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21495bee721e7d5cb67bda270f76fc50c64a402daa90541294307007496a2f70
3
+ size 4706
reconciliation.json CHANGED
@@ -4,8 +4,8 @@
4
  "concepts": 184,
5
  "identity_ok": 208,
6
  "by_rung": {
7
- "machine": 9343,
8
- "experimental": 32,
9
  "reviewed": 0,
10
  "official": 0
11
  },
 
4
  "concepts": 184,
5
  "identity_ok": 208,
6
  "by_rung": {
7
+ "machine": 8870,
8
+ "experimental": 505,
9
  "reviewed": 0,
10
  "official": 0
11
  },