canon export
Browse files- README.md +87 -68
- data/canon.parquet +2 -2
- data/locales.parquet +2 -2
- reconciliation.json +2 -2
README.md
CHANGED
|
@@ -76,26 +76,32 @@ configs:
|
|
| 76 |
|
| 77 |
## What this canon is
|
| 78 |
|
| 79 |
-
|
|
|
|
| 80 |
|
| 81 |
-
|
| 82 |
-
184 concepts across 51
|
| 83 |
-
9,375 decisions
|
| 84 |
-
|
| 85 |
|
| 86 |
-
|
| 87 |
-
`
|
| 88 |
-
|
| 89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
|
| 91 |
-
This is a
|
| 92 |
-
|
| 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 |
-
|
| 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 |
|
| 111 |
-
| `bn` | Bengali | বাংলা | 184 |
|
| 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 |
|
| 118 |
| `el` | Greek | Ελληνικά | 184 | 184 | 0 | 0 | 0 |
|
| 119 |
| `en` | English | English | 184 | 184 | 0 | 0 | 0 |
|
| 120 |
-
| `es` | Spanish | Español | 184 |
|
| 121 |
| `fa` | Persian | فارسی | 184 | 184 | 0 | 0 | 0 |
|
| 122 |
-
| `fi` | Finnish | Suomi | 183 |
|
| 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 |
|
| 128 |
-
| `he` | Hebrew | עברית | 184 |
|
| 129 |
-
| `hi` | Hindi | हिन्दी | 183 |
|
| 130 |
| `hr` | Croatian | Hrvatski | 184 | 184 | 0 | 0 | 0 |
|
| 131 |
| `hu` | Hungarian | Magyar | 184 | 184 | 0 | 0 | 0 |
|
| 132 |
-
| `id` | Indonesian | Bahasa Indonesia | 184 |
|
| 133 |
-
| `it` | Italian | Italiano | 184 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 154 |
| `th` | Thai | ไทย | 183 | 183 | 0 | 0 | 0 |
|
| 155 |
| `tr` | Turkish | Türkçe | 184 | 184 | 0 | 0 | 0 |
|
| 156 |
-
| `ur` | Urdu | اردو | 184 |
|
| 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 |
-
|
| 167 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 168 |
|
| 169 |
### `machine`
|
| 170 |
|
| 171 |
-
|
| 172 |
-
|
| 173 |
|
| 174 |
-
It is not arbitrary. Every rendering clears mechanical
|
| 175 |
-
selected
|
| 176 |
-
|
| 177 |
-
other terms in its
|
| 178 |
-
|
| 179 |
-
it, or would wince.
|
| 180 |
|
| 181 |
-
|
| 182 |
|
| 183 |
### `experimental`
|
| 184 |
|
| 185 |
-
A person has
|
| 186 |
-
|
| 187 |
-
|
| 188 |
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
|
| 193 |
### `reviewed`
|
| 194 |
|
| 195 |
-
|
| 196 |
-
|
| 197 |
|
| 198 |
-
The risk with
|
| 199 |
-
unrepresentative
|
| 200 |
-
|
| 201 |
-
|
| 202 |
|
| 203 |
-
|
| 204 |
-
|
| 205 |
|
| 206 |
### `official`
|
| 207 |
|
| 208 |
Ratified in a convened session, and screened.
|
| 209 |
|
| 210 |
-
Screening is
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
|
| 216 |
-
|
| 217 |
-
reaches.
|
| 218 |
|
| 219 |
### Where things stand today
|
| 220 |
|
| 221 |
-
0 renderings are at `reviewed` or above.
|
| 222 |
-
|
| 223 |
-
`experimental`
|
| 224 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
-
|
| 278 |
-
|
| 279 |
-
rendering up the ladder
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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":
|
| 8 |
-
"experimental":
|
| 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 |
},
|