@vm75/inditrans 0.4.3 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +26 -18
- package/dist/src/Option.d.ts +1 -1
- package/dist/src/Option.js +1 -1
- package/dist/src/inditrans.wasm +0 -0
- package/package.json +24 -20
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
An experimental transliterator library for some [Indic/Brahmic](https://en.wikipedia.org/wiki/Brahmic_scripts) scripts.
|
|
4
4
|
|
|
5
|
-
-
|
|
5
|
+
- Uses wasm for near native performance.
|
|
6
|
+
- No dependencies and no server needed.
|
|
6
7
|
- Supports [vedic accents](https://en.wikipedia.org/wiki/Vedic_accent). Useful for vedic scriptures.
|
|
7
8
|
- Smart transliteration to and from Tamil. Supports tamil superscript.
|
|
8
9
|
- Very small footprint (< 80kb uncompressed).
|
|
10
|
+
- Supports ITRANS toggle transliteration with ## and skipping HTML tags
|
|
9
11
|
|
|
10
12
|
References:
|
|
11
13
|
|
|
@@ -16,23 +18,29 @@ References:
|
|
|
16
18
|
## Supported scripts
|
|
17
19
|
|
|
18
20
|
- Indic/Brahmic scripts:
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
|
|
21
|
+
- Assamese
|
|
22
|
+
- Bengali
|
|
23
|
+
- Burmese
|
|
24
|
+
- Devanagari
|
|
25
|
+
- Gujarati
|
|
26
|
+
- Gurmukhi
|
|
27
|
+
- Kannada
|
|
28
|
+
- Khmer
|
|
29
|
+
- Malayalam
|
|
30
|
+
- Oriya
|
|
31
|
+
- Sinhala
|
|
32
|
+
- Tamil
|
|
33
|
+
- Tamil-Extended
|
|
34
|
+
- Telugu
|
|
35
|
+
- Tibetan
|
|
36
|
+
- Thai
|
|
37
|
+
- Latin/Roman scripts:
|
|
38
|
+
- IAST (https://en.wikipedia.org/wiki/International_Alphabet_of_Sanskrit_Transliteration)
|
|
39
|
+
- IPA (https://en.wikipedia.org/wiki/International_Phonetic_Alphabet)
|
|
40
|
+
- ISO 15919 (https://en.wikipedia.org/wiki/ISO_15919)
|
|
41
|
+
- ITRANS (https://en.wikipedia.org/wiki/ITRANS)
|
|
42
|
+
- ReadableLatin (easy to read in Latin alphabets with some customizations)
|
|
43
|
+
- TITUS (https://titus.uni-frankfurt.de/indexe.htm)
|
|
36
44
|
|
|
37
45
|
## Installation
|
|
38
46
|
|
package/dist/src/Option.d.ts
CHANGED
package/dist/src/Option.js
CHANGED
|
@@ -8,6 +8,6 @@ var Option;
|
|
|
8
8
|
Option[Option["TamilSuperscripted"] = 2] = "TamilSuperscripted";
|
|
9
9
|
Option[Option["ASCIINumerals"] = 4] = "ASCIINumerals";
|
|
10
10
|
Option[Option["IgnoreVedicAccents"] = 8] = "IgnoreVedicAccents";
|
|
11
|
-
Option[Option["
|
|
11
|
+
Option[Option["RetainSpecialMarkers"] = 16] = "RetainSpecialMarkers";
|
|
12
12
|
})(Option = exports.Option || (exports.Option = {}));
|
|
13
13
|
//# sourceMappingURL=Option.js.map
|
package/dist/src/inditrans.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vm75/inditrans",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "An experimental transliterator library for some Indic/Brahmic scripts.",
|
|
5
5
|
"main": "./dist/src/index.js",
|
|
6
6
|
"author": "VM75",
|
|
@@ -41,27 +41,31 @@
|
|
|
41
41
|
"typescript": "^4.5.4"
|
|
42
42
|
},
|
|
43
43
|
"keywords": [
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
44
|
+
"Transliterate",
|
|
45
|
+
"Indian",
|
|
46
|
+
"Indian language",
|
|
47
|
+
"Indian script",
|
|
48
|
+
"Devanagari",
|
|
49
|
+
"Tamil",
|
|
50
|
+
"Sanskrit",
|
|
51
|
+
"Telugu",
|
|
52
|
+
"Kannada",
|
|
53
|
+
"Malayalam",
|
|
54
|
+
"Bengali",
|
|
55
|
+
"Gurmukhi",
|
|
56
|
+
"Gujarati",
|
|
57
|
+
"Oriya",
|
|
58
|
+
"Brahmic",
|
|
59
|
+
"Thai",
|
|
60
|
+
"Tibetan",
|
|
61
|
+
"Burmese",
|
|
62
|
+
"Khmer",
|
|
63
|
+
"Vedic accents",
|
|
64
|
+
"Wasm",
|
|
62
65
|
"ISO 15919",
|
|
63
66
|
"IAST",
|
|
64
67
|
"ITRANS",
|
|
65
|
-
"IPA"
|
|
68
|
+
"IPA",
|
|
69
|
+
"TITUS"
|
|
66
70
|
]
|
|
67
71
|
}
|