Manish2kh4 commited on
Commit
430f4b4
·
verified ·
1 Parent(s): 9d3dad6

codemix_xlit assets 1.4.6+7d2bae823016

Browse files
Files changed (7) hide show
  1. LICENSE +1 -1
  2. NOTICE +1 -1
  3. README.md +0 -117
  4. lexicon/pa.generated.json +0 -0
  5. manifest.json +10 -10
  6. names/hi.json +1 -0
  7. names/ur.json +1 -0
LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- indictrans (codemix_xlit assets) version 1.4.5: 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.6: 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.5
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.6
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.5+d240dd9acaaa. 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/pa.generated.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": 4697,
5
- "sha256": "72e013267004e79d2632ef2fb154e61dbe25a6cf7c129484d3fd4b0c71f9fd6e"
6
  },
7
  "NOTICE": {
8
  "bytes": 1922,
9
- "sha256": "ebf42bfa6987f387768953c5607d09267df9facf51215da752d46fa8f90bfc7c"
10
  },
11
  "cmudict.json": {
12
  "bytes": 4464854,
@@ -154,7 +154,7 @@
154
  },
155
  "lexicon/pa.generated.json": {
156
  "bytes": 3276407,
157
- "sha256": "3c5d81854975b500dfdd894f9ddaf705e0a7449efd7218b1cac4f4a2a48fec65"
158
  },
159
  "lexicon/pa.reviewed.json": {
160
  "bytes": 194204,
@@ -233,8 +233,8 @@
233
  "sha256": "380cf3f4ef4849f6d579ff0e0d83e26a68edde87d057f95f7880d5530cf4365a"
234
  },
235
  "names/hi.json": {
236
- "bytes": 193108,
237
- "sha256": "78aed34c69b41546f3afc25d2f29039646a7152d891f02fefe10dfec9390816b"
238
  },
239
  "names/kn.json": {
240
  "bytes": 200657,
@@ -293,8 +293,8 @@
293
  "sha256": "6fbda748720808373885f25e339e76bd2983b2e6f822020c93cf74d98dc5cdde"
294
  },
295
  "names/ur.json": {
296
- "bytes": 115264,
297
- "sha256": "5faffd278d5e9c8e24478d17d527c717dcc5b0b331a5bdac9c126dc7a68bd766"
298
  },
299
  "native_freq/as.json": {
300
  "bytes": 1423749,
@@ -457,8 +457,8 @@
457
  "sha256": "e5591262d21a5a29fd3c70810a921239fc57a46cc04c1e532b8710c00dd6cbfa"
458
  },
459
  "roman/ta.json": {
460
- "bytes": 678723,
461
- "sha256": "26ec1c6d4a6cc3497e58f347940239e532e3ddda7273dc5935efc5b425cea7ba"
462
  },
463
  "roman/te.json": {
464
  "bytes": 696049,
@@ -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.5+d240dd9acaaa",
560
  "vocab": "wordfreq top English words"
561
  }
 
2
  "files": {
3
  "LICENSE": {
4
  "bytes": 4697,
5
+ "sha256": "8979fa054ddbcb5162b9377cf53786b035944b1ba7ca8cb6a972267ceccc8f36"
6
  },
7
  "NOTICE": {
8
  "bytes": 1922,
9
+ "sha256": "fae31ab60617fa0b0b46e3f20a18a6c8139120ced7b93c81694786a387789edb"
10
  },
11
  "cmudict.json": {
12
  "bytes": 4464854,
 
154
  },
155
  "lexicon/pa.generated.json": {
156
  "bytes": 3276407,
157
+ "sha256": "51dca8b64d4ee57186a6ffa6aa06b77ddccfab9554a140f24214eb24f56f321a"
158
  },
159
  "lexicon/pa.reviewed.json": {
160
  "bytes": 194204,
 
233
  "sha256": "380cf3f4ef4849f6d579ff0e0d83e26a68edde87d057f95f7880d5530cf4365a"
234
  },
235
  "names/hi.json": {
236
+ "bytes": 193133,
237
+ "sha256": "1ab686620c5cea198743e128f8f8a774ed2e39edaee19ed0767d7ad2c9b3f6a2"
238
  },
239
  "names/kn.json": {
240
  "bytes": 200657,
 
293
  "sha256": "6fbda748720808373885f25e339e76bd2983b2e6f822020c93cf74d98dc5cdde"
294
  },
295
  "names/ur.json": {
296
+ "bytes": 115285,
297
+ "sha256": "4c9ff541cdd8c7b0c9f3dab3bf81ba35ac9a88434bdea17d68d8ad0ec264413c"
298
  },
299
  "native_freq/as.json": {
300
  "bytes": 1423749,
 
457
  "sha256": "e5591262d21a5a29fd3c70810a921239fc57a46cc04c1e532b8710c00dd6cbfa"
458
  },
459
  "roman/ta.json": {
460
+ "bytes": 678724,
461
+ "sha256": "383bf624402f735482972500db3d3e6865d82e9f46001ca0f1992088c984b204"
462
  },
463
  "roman/te.json": {
464
  "bytes": 696049,
 
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.6+7d2bae823016",
560
  "vocab": "wordfreq top English words"
561
  }
names/hi.json CHANGED
@@ -2357,6 +2357,7 @@
2357
  "karauli": "करौली",
2358
  "karayalar": "करायालर",
2359
  "karbi": "कार्बी",
 
2360
  "kargil": "कारगिल",
2361
  "karim": "करीम",
2362
  "karimganj": "करीमगंज",
 
2357
  "karauli": "करौली",
2358
  "karayalar": "करायालर",
2359
  "karbi": "कार्बी",
2360
+ "karen": "केरन",
2361
  "kargil": "कारगिल",
2362
  "karim": "करीम",
2363
  "karimganj": "करीमगंज",
names/ur.json CHANGED
@@ -1866,6 +1866,7 @@
1866
  "karanth": "کرنت",
1867
  "karayalar": "کرایالر",
1868
  "karbi": "کاربی",
 
1869
  "kargil": "کارگل",
1870
  "karim": "کریم",
1871
  "karimganj": "کریمگنج",
 
1866
  "karanth": "کرنت",
1867
  "karayalar": "کرایالر",
1868
  "karbi": "کاربی",
1869
+ "karen": "کیرن",
1870
  "kargil": "کارگل",
1871
  "karim": "کریم",
1872
  "karimganj": "کریمگنج",