Manish2kh4 commited on
Commit
56e5937
·
verified ·
1 Parent(s): fc5ad94

codemix_xlit assets 1.4.16+12d0f820ea16

Browse files
Files changed (7) hide show
  1. LICENSE +1 -1
  2. NOTICE +1 -1
  3. README.md +0 -117
  4. lexicon/ml.reviewed.json +0 -0
  5. manifest.json +30 -30
  6. names/gu.json +1 -0
  7. names/ml.json +1 -0
LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- indictrans (codemix_xlit assets) version 1.4.15: licences of the files in this bundle
2
 
3
  Sources and licences
4
  `license: other` because the files carry different licences; each is listed here with its notice.
 
1
+ indictrans (codemix_xlit assets) version 1.4.16: licences of the files in this bundle
2
 
3
  Sources and licences
4
  `license: other` because the files carry different licences; each is listed here with its notice.
NOTICE CHANGED
@@ -1,5 +1,5 @@
1
  indictrans: runtime assets of the Finesse TTS code-mix transliteration layer (utils/codemix_xlit)
2
- Version 1.4.15
3
 
4
  This bundle redistributes and adapts third-party material. Each part keeps its own licence (see
5
  LICENSE):
 
1
  indictrans: runtime assets of the Finesse TTS code-mix transliteration layer (utils/codemix_xlit)
2
+ Version 1.4.16
3
 
4
  This bundle redistributes and adapts third-party material. Each part keeps its own licence (see
5
  LICENSE):
README.md DELETED
@@ -1,117 +0,0 @@
1
- ---
2
- license: other
3
- language: [hi, mr, ne, mai, sa, brx, kok, doi, gu, pa, or, ta, te, kn, ml, mni, bn, as, ur, sd, ks, sat]
4
- tags: [transliteration, code-mixing, text-to-speech, indic]
5
- ---
6
- # indictrans: English words in Indian-language text, written in the request's script
7
-
8
- Runtime assets of the code-mix transliteration layer of the Finesse TTS (`utils/codemix_xlit`):
9
- English words inside Indic text are rewritten in the language's script, spelled the way an
10
- Indian-English speaker says them, so an Indic voice reads them correctly; text typed entirely in
11
- Latin is read word by word, the language's own words back into its script. 22 languages (Dogri and
12
- Santali through the Hindi model).
13
-
14
- Version 1.4.15+631ae6081786. Built by `tools/codemix_xlit/build_assets.py`; `manifest.json` lists every file
15
- with its size and SHA-256.
16
-
17
- ## Contents
18
- - `LICENSE`, `NOTICE`: the licences and attributions below, inside the bundle, so a copy of the folder
19
- keeps them
20
- - `model/`: the IndicXlit en->indic v1.0 transformer converted to CTranslate2
21
- - `lexicon/<code>.reviewed.json`, `lexicon/<code>.generated.json`: reviewed and generated spellings
22
- - `rescore/`: pruned IndicXlit word-frequency dictionaries
23
- - `cmudict.json`, `english_*`: English pronunciations, vocabulary and reviewed corrections
24
- - `indic_words.json`: Indian words read natively; `ranker.json`: candidate ranker
25
- - `roman/<code>.json`: how people type each language's words in Latin, how often, and the other words
26
- a typing can be (`alts`)
27
- - `native_freq/<token>.json`: word frequencies of the eleven languages without a `rescore/` list, for
28
- the language's own words typed in Latin
29
- - `roman_ctx/<code>.json`: for typings that are two different words, how often each is seen next to
30
- the words that tell them apart (sentence context)
31
- - `names/<code>.json`: Indian given names, surnames and place names typed in Latin and how the language
32
- writes them (`tools/codemix_xlit/build_names.py`), read for a capitalised word (Sneha स्नेहा, not स्नेह)
33
-
34
- ## Sources and licences
35
- `license: other` because the files carry different licences; each is listed here with its notice.
36
-
37
- - `model/`, `rescore/`, `native_freq/`: the IndicXlit model and word-frequency dictionaries, AI4Bharat,
38
- MIT licence (https://github.com/AI4Bharat/IndicXlit). Notice:
39
-
40
- > MIT License
41
- >
42
- > Copyright (c) 2022 AI4Bhārat
43
- >
44
- > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
45
- > associated documentation files (the "Software"), to deal in the Software without restriction,
46
- > including without limitation the rights to use, copy, modify, merge, publish, distribute,
47
- > sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
48
- > furnished to do so, subject to the following conditions:
49
- >
50
- > The above copyright notice and this permission notice shall be included in all copies or
51
- > substantial portions of the Software.
52
- >
53
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
54
- > NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
55
- > NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
56
- > DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
57
- > OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
58
-
59
- - `cmudict.json`: the CMU Pronouncing Dictionary (https://github.com/cmusphinx/cmudict), BSD-style
60
- licence. Notice:
61
-
62
- > Copyright (C) 1993-2015 Carnegie Mellon University. All rights reserved.
63
- >
64
- > Redistribution and use in source and binary forms, with or without modification, are permitted
65
- > provided that the following conditions are met:
66
- >
67
- > 1. Redistributions of source code must retain the above copyright notice, this list of conditions
68
- > and the following disclaimer. The contents of this file are deemed to be source code.
69
- > 2. Redistributions in binary form must reproduce the above copyright notice, this list of
70
- > conditions and the following disclaimer in the documentation and/or other materials provided
71
- > with the distribution.
72
- >
73
- > This work was supported in part by funding from the Defense Advanced Research Projects Agency, the
74
- > Office of Naval Research and the National Science Foundation of the United States of America, and
75
- > by member companies of the Carnegie Mellon Sphinx Speech Consortium. We acknowledge the
76
- > contributions of many volunteers to the expansion and improvement of this dictionary.
77
- >
78
- > THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND ANY EXPRESSED OR IMPLIED
79
- > WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
80
- > FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY NOR ITS
81
- > EMPLOYEES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
82
- > DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
83
- > DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
84
- > IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
85
- > OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
86
-
87
- - `english_vocab.txt`, `english_pron_vocab.txt`: English word lists derived from wordfreq
88
- (https://github.com/rspeer/wordfreq), whose data is CC BY-SA 4.0
89
- (https://creativecommons.org/licenses/by-sa/4.0/); these lists are shared under the same licence.
90
- - `roman/` of bn, gu, hi, kn, ml, mr, pa, sd, ta, te, ur: counts derived from the romanized sentences
91
- of the Dakshina dataset (Roark et al. 2020, https://github.com/google-research-datasets/dakshina),
92
- CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/); these tables are shared under the
93
- same licence.
94
- - `roman_ctx/`: neighbour counts from AI4Bharat Sangraha, verified subset (Khan et al. 2024,
95
- https://huggingface.co/datasets/ai4bharat/sangraha), CC BY 4.0
96
- (https://creativecommons.org/licenses/by/4.0/).
97
- - `names/`: the English and native-script labels of people with Indian citizenship, of the name items
98
- they carry and of India's states, union territories and places of 100,000 people, from Wikidata (https://www.wikidata.org), CC0 1.0
99
- (https://creativecommons.org/publicdomain/zero/1.0/), checked against the IndicXlit model above.
100
- - Lexicons, corrections, ranker and the other romanized tables: derived from the above as described
101
- below.
102
-
103
- ## Who wrote the generated parts
104
- - `lexicon/<code>.generated.json`: written offline by the layer's own pipeline (`build_assets.py
105
- lexicon`: IndicXlit's candidates, spellings rendered from the pronunciation, the ranker). Its
106
- entries that did not read back as the English word, among each language's 5,000 most frequent,
107
- were reviewed by the LLM graders below and the errors corrected in the reviewed lexicon.
108
- - `english_extra_prons.json` (Indian-English readings of words the CMU dictionary lacks: names,
109
- brands, foreign words), `english_pron_overrides.json`, `indic_words.json`, the gold spellings in
110
- `lexicon/<code>.reviewed.json`, and the everyday words in `roman/`: written by a large language
111
- model, run as per-language writer and grader agents under fixed spelling conventions. They were
112
- reviewed by further agents of the same model (a reading is read
113
- back against the English pronunciation; a spelling is graded C/A/W blind against plain
114
- IndicXlit's). Two independent graders agreed on 96.2-97.7% of labels.
115
- - `ranker.json`: fitted on those graders' labels.
116
- - The accuracy figures published for this bundle come from the same model graders. **No native
117
- speaker has reviewed any of these files yet**; treat them as unverified for external claims.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lexicon/ml.reviewed.json CHANGED
The diff for this file is too large to render. See raw diff
 
manifest.json CHANGED
@@ -2,11 +2,11 @@
2
  "files": {
3
  "LICENSE": {
4
  "bytes": 4698,
5
- "sha256": "15948212d7c8fef32faddca9221b4893a618cbf0bbfce8ae727bf0595e56fd7a"
6
  },
7
  "NOTICE": {
8
  "bytes": 1923,
9
- "sha256": "4c8863ba6dbce31481e7bf67cc3541237e66568a627dae3cdacd59c0c02e7f54"
10
  },
11
  "cmudict.json": {
12
  "bytes": 4464854,
@@ -118,7 +118,7 @@
118
  },
119
  "lexicon/ml.reviewed.json": {
120
  "bytes": 273368,
121
- "sha256": "dad1bde5a1d271b6237df612825b3d3e48e8e2104a49817098c79f21ddbf4d66"
122
  },
123
  "lexicon/mni.generated.json": {
124
  "bytes": 3220999,
@@ -229,8 +229,8 @@
229
  "sha256": "3a69fd1b28ca150108df3649eadc7954d051d398d25c699a85039e667e3ca9bb"
230
  },
231
  "names/gu.json": {
232
- "bytes": 191667,
233
- "sha256": "6208a7de388c9f189dd13f123455f67b9173c5896cd3b432efbc882e3e075e4d"
234
  },
235
  "names/hi.json": {
236
  "bytes": 193154,
@@ -253,8 +253,8 @@
253
  "sha256": "ec94c3dd375db1c2ee8b1327dfe90f47d28a2dde92324b3b6a97cbda72d627f5"
254
  },
255
  "names/ml.json": {
256
- "bytes": 199122,
257
- "sha256": "5886917b584d6838de060f92b144c8128d7e9bb046cc767868239a7ed87c6d33"
258
  },
259
  "names/mni.json": {
260
  "bytes": 179994,
@@ -385,12 +385,12 @@
385
  "sha256": "a41e07ecdfabf400aecfde068fdaa06c76e777bbf6c846fabd91a59755cf8892"
386
  },
387
  "roman/as.json": {
388
- "bytes": 455206,
389
- "sha256": "a66a5fbfaa09c17adad05aa7825c1cfb816cc1ec2ee1df049c5a1da909424d5d"
390
  },
391
  "roman/bn.json": {
392
- "bytes": 524325,
393
- "sha256": "e1c6342da31ee8fd2555228304d0dff618f0e48918482761f156cb9db6c9f58d"
394
  },
395
  "roman/brx.json": {
396
  "bytes": 373560,
@@ -401,16 +401,16 @@
401
  "sha256": "db6f5446711a770538e5a03527cb20af2467dd40e9e20db7e1e013557790a952"
402
  },
403
  "roman/gu.json": {
404
- "bytes": 437007,
405
- "sha256": "87f82a7420f95a9b2a760705a9733d02b01859c007aef9e67fb02d83ebb5bce2"
406
  },
407
  "roman/hi.json": {
408
- "bytes": 431851,
409
- "sha256": "e625676d5b59f8bc8825473180323055e554a689c1038b3c65bd48cd5b478920"
410
  },
411
  "roman/kn.json": {
412
- "bytes": 605271,
413
- "sha256": "263e50039ac99179371c0e59d5f45ea19cf153ae469f81cb575819c27d07d81a"
414
  },
415
  "roman/knn.json": {
416
  "bytes": 391716,
@@ -425,28 +425,28 @@
425
  "sha256": "45ef988a0d720483dee6122aa7221b479f203e90e329e8f2f6e057cf728239fd"
426
  },
427
  "roman/ml.json": {
428
- "bytes": 792120,
429
- "sha256": "73beb2452c0f1d396ac65a509facd7b22db622fbdcba56a668fda471ea7d778e"
430
  },
431
  "roman/mni.json": {
432
  "bytes": 189975,
433
  "sha256": "97222729dd156238bf850424697c9e2c862d31bc0122981b932602ce45fb8899"
434
  },
435
  "roman/mr.json": {
436
- "bytes": 492617,
437
- "sha256": "88692298fc1af165516be36832af5c5854708b1c746b0c5363f47f1716057045"
438
  },
439
  "roman/npi.json": {
440
  "bytes": 409495,
441
  "sha256": "942bbc70fa6fd47648ceec3693c0800baeef87da010dadf3702a042d57f3caed"
442
  },
443
  "roman/ory.json": {
444
- "bytes": 451809,
445
- "sha256": "109b180fd84e8748c1802b650d38f12acbae435c976f9c8e60fa9bc2d3990294"
446
  },
447
  "roman/pa.json": {
448
- "bytes": 433081,
449
- "sha256": "ec138c259bb20972f07c55cd07e5666419c4f2da8711f63223d69ed2805e0bbd"
450
  },
451
  "roman/sa.json": {
452
  "bytes": 480676,
@@ -457,12 +457,12 @@
457
  "sha256": "e5591262d21a5a29fd3c70810a921239fc57a46cc04c1e532b8710c00dd6cbfa"
458
  },
459
  "roman/ta.json": {
460
- "bytes": 679033,
461
- "sha256": "734246d7c52921b9139440f1a6fba60804fbcc32d39538bbf91b283265f67fe4"
462
  },
463
  "roman/te.json": {
464
- "bytes": 696052,
465
- "sha256": "62581297669ed8ed4479aa0e0c111238705c2f13271deaaaacfd15434b76186b"
466
  },
467
  "roman/ur.json": {
468
  "bytes": 321608,
@@ -556,6 +556,6 @@
556
  "model_source": "https://github.com/AI4Bharat/IndicXlit/releases/download/v1.0/indicxlit-en-indic-v1.0.zip",
557
  "pronunciations": "CMU Pronouncing Dictionary (cmudict)",
558
  "rescore_source": "https://github.com/AI4Bharat/IndicXlit/releases/download/v1.0/word_prob_dicts.zip",
559
- "version": "1.4.15+631ae6081786",
560
  "vocab": "wordfreq top English words"
561
  }
 
2
  "files": {
3
  "LICENSE": {
4
  "bytes": 4698,
5
+ "sha256": "cf33ed18850028c1e6756d8f4fc4aba3d73c470e4d7102bf60e4f07e91aa23a1"
6
  },
7
  "NOTICE": {
8
  "bytes": 1923,
9
+ "sha256": "58caf9d6534b71bf493495ca5858ae48fb47e593ce84b61407718fd8adc5b630"
10
  },
11
  "cmudict.json": {
12
  "bytes": 4464854,
 
118
  },
119
  "lexicon/ml.reviewed.json": {
120
  "bytes": 273368,
121
+ "sha256": "bb4ca639ee6b73eaba752f36541ded0c9299d7daba85ebc2a828bfea60aa7ac1"
122
  },
123
  "lexicon/mni.generated.json": {
124
  "bytes": 3220999,
 
229
  "sha256": "3a69fd1b28ca150108df3649eadc7954d051d398d25c699a85039e667e3ca9bb"
230
  },
231
  "names/gu.json": {
232
+ "bytes": 191692,
233
+ "sha256": "ad6756adc5d90b8cc841459827cbff5470c61bebc78af562befc02accf53f821"
234
  },
235
  "names/hi.json": {
236
  "bytes": 193154,
 
253
  "sha256": "ec94c3dd375db1c2ee8b1327dfe90f47d28a2dde92324b3b6a97cbda72d627f5"
254
  },
255
  "names/ml.json": {
256
+ "bytes": 199144,
257
+ "sha256": "3103324b41c340b6d218655cb320a9c7873fbf041e9b52e64d3c7e7f52f6ec83"
258
  },
259
  "names/mni.json": {
260
  "bytes": 179994,
 
385
  "sha256": "a41e07ecdfabf400aecfde068fdaa06c76e777bbf6c846fabd91a59755cf8892"
386
  },
387
  "roman/as.json": {
388
+ "bytes": 455298,
389
+ "sha256": "3517745b1b9ac90b42b545a178a3d66e157157d7b8eb4e3016ad2b41c22c99cc"
390
  },
391
  "roman/bn.json": {
392
+ "bytes": 524568,
393
+ "sha256": "c3a3dead063f8e4017af833383942305b02a9fcc2f7d8aafb867d234c01aff58"
394
  },
395
  "roman/brx.json": {
396
  "bytes": 373560,
 
401
  "sha256": "db6f5446711a770538e5a03527cb20af2467dd40e9e20db7e1e013557790a952"
402
  },
403
  "roman/gu.json": {
404
+ "bytes": 437062,
405
+ "sha256": "7bb02ef1c17bdbf97b58e4a1ce6ea03f5eb7c204e2119bdb20903f0e89555c80"
406
  },
407
  "roman/hi.json": {
408
+ "bytes": 432372,
409
+ "sha256": "9ba2121b06d13daade5adca0dfd79bb085378212a86fe313a17df2d414b8253d"
410
  },
411
  "roman/kn.json": {
412
+ "bytes": 605568,
413
+ "sha256": "119ec11bb9e3d457c02a654d62ca656df4c01f4ee90f627c04a0ec1a49758fce"
414
  },
415
  "roman/knn.json": {
416
  "bytes": 391716,
 
425
  "sha256": "45ef988a0d720483dee6122aa7221b479f203e90e329e8f2f6e057cf728239fd"
426
  },
427
  "roman/ml.json": {
428
+ "bytes": 792370,
429
+ "sha256": "001627ca958267ba7b157b3b8f41e28e1f912b4c245319edd39fa84fb945bd68"
430
  },
431
  "roman/mni.json": {
432
  "bytes": 189975,
433
  "sha256": "97222729dd156238bf850424697c9e2c862d31bc0122981b932602ce45fb8899"
434
  },
435
  "roman/mr.json": {
436
+ "bytes": 492731,
437
+ "sha256": "5d24a53a92b8cfb4f2182704f12430c1e9bee3ccca3cc867a04e8f4c16a4361b"
438
  },
439
  "roman/npi.json": {
440
  "bytes": 409495,
441
  "sha256": "942bbc70fa6fd47648ceec3693c0800baeef87da010dadf3702a042d57f3caed"
442
  },
443
  "roman/ory.json": {
444
+ "bytes": 451975,
445
+ "sha256": "86ba5981bcbd1ee00e85c59eb183e5f20a8002d2391658e1a3f68dd30e697c46"
446
  },
447
  "roman/pa.json": {
448
+ "bytes": 433374,
449
+ "sha256": "d6365ddd7cd2425b7978aab75931e20236049e386497af259f45df28242c9798"
450
  },
451
  "roman/sa.json": {
452
  "bytes": 480676,
 
457
  "sha256": "e5591262d21a5a29fd3c70810a921239fc57a46cc04c1e532b8710c00dd6cbfa"
458
  },
459
  "roman/ta.json": {
460
+ "bytes": 679837,
461
+ "sha256": "4fb325ad488b381cdbb316821f9a3045dbe7f5bb50dd01c8cfa984ec7eabf9ac"
462
  },
463
  "roman/te.json": {
464
+ "bytes": 696182,
465
+ "sha256": "09e98c8fe7dd459174552ffc26e558f1daacb4f87a26743daffbb2112a5ae298"
466
  },
467
  "roman/ur.json": {
468
  "bytes": 321608,
 
556
  "model_source": "https://github.com/AI4Bharat/IndicXlit/releases/download/v1.0/indicxlit-en-indic-v1.0.zip",
557
  "pronunciations": "CMU Pronouncing Dictionary (cmudict)",
558
  "rescore_source": "https://github.com/AI4Bharat/IndicXlit/releases/download/v1.0/word_prob_dicts.zip",
559
+ "version": "1.4.16+12d0f820ea16",
560
  "vocab": "wordfreq top English words"
561
  }
names/gu.json CHANGED
@@ -1337,6 +1337,7 @@
1337
  "dhanraj": "ધનરાજ",
1338
  "dhanya": "ધન્યા",
1339
  "dhar": "ધર",
 
1340
  "dharam": "ધરમ",
1341
  "dharamvir": "ધર્મવીર",
1342
  "dharashiv": "ધારાશિવ",
 
1337
  "dhanraj": "ધનરાજ",
1338
  "dhanya": "ધન્યા",
1339
  "dhar": "ધર",
1340
+ "dhara": "ધારા",
1341
  "dharam": "ધરમ",
1342
  "dharamvir": "ધર્મવીર",
1343
  "dharashiv": "ધારાશિવ",
names/ml.json CHANGED
@@ -5298,6 +5298,7 @@
5298
  "thankam": "തങ്കം",
5299
  "thapa": "ഥാപ്പ",
5300
  "thapar": "ഥാപ്പർ",
 
5301
  "thavasi": "തവസി",
5302
  "theni": "തേനി",
5303
  "thennavan": "തെന്നവൻ",
 
5298
  "thankam": "തങ്കം",
5299
  "thapa": "ഥാപ്പ",
5300
  "thapar": "ഥാപ്പർ",
5301
+ "thara": "താര",
5302
  "thavasi": "തവസി",
5303
  "theni": "തേനി",
5304
  "thennavan": "തെന്നവൻ",