Skip to content

Commit

Permalink
Split schemes into separate JSON files
Browse files Browse the repository at this point in the history
  • Loading branch information
psvenk committed Aug 5, 2020
1 parent fe693b7 commit 08a42b2
Show file tree
Hide file tree
Showing 78 changed files with 838 additions and 814 deletions.
56 changes: 51 additions & 5 deletions dist.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,54 @@
const fs = require("fs");
const fsp = require("fs").promises;
const path = require("path");

const schemesStr = fs.readFileSync(path.join(__dirname, "src", "schemes.json"));
const sanscript = fs.readFileSync(path.join(__dirname, "src", "sanscript.js"));
async function main() {
// Get lists of Brahmic and roman schemes
// Each of bschemes and rschemes is an array of which each element is of
// the form [filename, filepath]
const [bschemes, rschemes] = await Promise.all(
["brahmic", "roman"].map(async x => {
const dirpath = path.join(__dirname, "src", "schemes", x)
let paths = [];
for (const filename of await fsp.readdir(dirpath)) {
paths.push([filename, path.join(dirpath, filename)]);
}
return paths;
})
);

// Create Sanscript.js for distribution containing the schemes in schemes.json
fs.writeFileSync("sanscript.js", `var schemes = ${schemesStr};\n${sanscript}`);
// Get arrays of Brahmic and roman scheme file contents
// Each of bfiles and rfiles is an array of which each element is of the
// form [schemeName, fileContents]
const [bfiles, rfiles] = await Promise.all([bschemes, rschemes].map(x =>
Promise.all(x.map(async ([filename, filepath]) => {
let schemeName = filename.split(".");
schemeName.pop();
const fileContents = await fsp.readFile(filepath);
return [schemeName, fileContents];
}))
));

// Get file handle for sanscript.js
let out;
try {
out = await fsp.open(
path.join(__dirname, "sanscript.js"), "w"
);
out.write("var schemes = {};\n");
for (const [scheme, contents] of bfiles) {
out.write(`schemes.${scheme} = ${contents};\n`);
}
for (const [scheme, contents] of rfiles) {
out.write(`schemes.${scheme} = ${contents};\n`);
}
// Write the code to the output file
out.write(await fsp.readFile(
path.join(__dirname, "src", "sanscript.js")
));
} finally {
if (out !== undefined)
await out.close();
}
}

main().catch(console.error);
809 changes: 0 additions & 809 deletions src/schemes.json

This file was deleted.

14 changes: 14 additions & 0 deletions src/schemes/brahmic/ahom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"vowels": ["๐‘œ’", "๐‘œ’๐‘œก", "๐‘œ’๐‘œข", "๐‘œ’๐‘œฃ", "๐‘œ’๐‘œค", "๐‘œ’๐‘œฅ", "๐‘œ๐‘œค", "๐‘œ๐‘œฅ", "๐‘œŽ๐‘œค", "๐‘œŽ๐‘œฅ", "๐‘œ’๐‘œฆ", "๐‘œ’๐‘œฆ", "๐‘œ’๐‘œฉ", "๐‘œ’๐‘œจ", "๐‘œ’๐‘œจ", "๐‘œ’๐‘œง"],
"vowel_marks": ["๐‘œก", "๐‘œข", "๐‘œฃ", "๐‘œค", "๐‘œฅ", "๐‘œž๐‘œค", "๐‘œž๐‘œฅ", "๐‘œ๐‘œค", "๐‘œ๐‘œฅ", "๐‘œฆ", "๐‘œฆ", "๐‘œฉ", "๐‘œจ", "๐‘œจ", "๐‘œง"],
"other_marks": ["๐‘œช", "๐‘œ‘๐‘œซ", "๐‘œช"],
"virama": ["๐‘œซ"],
"consonants": ["๐‘œ€", "๐‘œ", "๐‘œ•", "๐‘œ—", "๐‘œ‚", "๐‘œ‹", "๐‘œ‹", "๐‘œŠ", "๐‘œ™", "๐‘œ", "๐‘œ„", "๐‘œŒ", "๐‘œ“", "๐‘œ”", "๐‘œƒ", "๐‘œ„", "๐‘œŒ", "๐‘œ“", "๐‘œ”", "๐‘œƒ", "๐‘œ†", "๐‘œ‡", "๐‘œˆ", "๐‘œ˜", "๐‘œ‰", "๐‘œŠ", "๐‘œ", "๐‘œŽ", "๐‘œˆ", "๐‘œ", "๐‘œ", "๐‘œ", "๐‘œ‘", "๐‘œŽ", "๐‘œ€๐‘œซ๐‘œ", "๐‘œŠ๐‘œซ๐‘œ"],
"symbols": ["๐‘œฐ", "๐‘œฑ", "๐‘œฒ", "๐‘œณ", "๐‘œด", "๐‘œต", "๐‘œถ", "๐‘œท", "๐‘œธ", "๐‘œน", "๐‘œ’๐‘œช๐‘œจ", "'", "๐‘œผ", "๐‘œฝ"],
"zwj": ["\u200D"],
"skip": [""],
"accent": ["\u0951", "\u0952"],
"combo_accent": ["๐‘œ‘๐‘œซเฅ‘", "๐‘œ‘๐‘œซเฅ’", "๐‘œชเฅ‘", "๐‘œชเฅ’"],
"candra": ["๐‘œฆ"],
"other": ["๐‘œ€", "๐‘œ", "๐‘œ•", "๐‘œŠ", "๐‘œ“", "๐‘œ”", "๐‘œ‡", "๐‘œŠ", "๐‘œ"]
}
14 changes: 14 additions & 0 deletions src/schemes/brahmic/assamese.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"vowels": ["เฆ…", "เฆ†", "เฆ‡", "เฆˆ", "เฆ‰", "เฆŠ", "เฆ‹", "เง ", "เฆŒ", "เงก", "เฆ", "เฆ", "เฆ", "เฆ“", "เฆ“", "เฆ”"],
"vowel_marks": ["เฆพ", "เฆฟ", "เง€", "เง", "เง‚", "เงƒ", "เง„", "เงข", "เงฃ", "เง‡", "เง‡", "เงˆ", "เง‹", "เง‹", "เงŒ"],
"other_marks": ["เฆ‚", "เฆƒ", "เฆ"],
"virama": ["เง"],
"consonants": ["เฆ•", "เฆ–", "เฆ—", "เฆ˜", "เฆ™", "เฆš", "เฆ›", "เฆœ", "เฆ", "เฆž", "เฆŸ", "เฆ ", "เฆก", "เฆข", "เฆฃ", "เฆค", "เฆฅ", "เฆฆ", "เฆง", "เฆจ", "เฆช", "เฆซ", "เฆฌ", "เฆญ", "เฆฎ", "เฆฏ", "เงฐ", "เฆฒ", "เงฑ", "เฆถ", "เฆท", "เฆธ", "เฆน", "เฆฒเฆผ", "เฆ•เงเฆท", "เฆœเงเฆž"],
"symbols": ["เงฆ", "เงง", "เงจ", "เงฉ", "เงช", "เงซ", "เงฌ", "เงญ", "เงฎ", "เงฏ", "เฆ“เฆ", "เฆฝ", "เฅค", "เฅฅ"],
"zwj": ["\u200D"],
"skip": [""],
"accent": ["\u0951", "\u0952"],
"combo_accent": ["เฆƒเฅ‘", "เฆƒเฅ’", "เฆ‚เฅ‘", "เฆ‚เฅ’"],
"candra": ["เง‡"],
"other": ["เฆ•เฆผ", "เฆ–เฆผ", "เฆ—เฆผ", "เฆœเฆผ", "เงœ", "เง", "เฆซเฆผ", "เงŸ", "เงฐเฆผ"]
}
14 changes: 14 additions & 0 deletions src/schemes/brahmic/avestan.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"vowels": ["๐ฌ€", "๐ฌ", "๐ฌŒ", "๐ฌ", "๐ฌŽ", "๐ฌ", "๐ฌ†๐ฌญ๐ฌ†", "๐ฌ‡๐ฌญ๐ฌ‡", "๐ฌ†๐ฌฎ๐ฌ†", "๐ฌ‡๐ฌฎ๐ฌ‡", "๐ฌˆ", "๐ฌ‰", "๐ฌ€๐ฌŒ", "๐ฌŠ", "๐ฌ‹", "๐ฌ€๐ฌŽ"],
"vowel_marks": ["๐ฌ", "๐ฌŒ", "๐ฌ", "๐ฌŽ", "๐ฌ", "๐ฌ†๐ฌญ๐ฌ†", "๐ฌ‡๐ฌญ๐ฌ‡", "๐ฌ†๐ฌฎ๐ฌ†", "๐ฌ‡๐ฌฎ๐ฌ‡", "๐ฌˆ", "๐ฌ‰", "๐ฌ€๐ฌŒ", "๐ฌŠ", "๐ฌ‹", "๐ฌ€๐ฌŽ"],
"other_marks": ["๐ฌฉ", "๐ฌต", "๐ฌฉ"],
"virama": [""],
"consonants": ["๐ฌ๐ฌ€", "๐ฌ‘๐ฌ€", "๐ฌ”๐ฌ€", "๐ฌ–๐ฌ€", "๐ฌข๐ฌ€", "๐ฌ—๐ฌ€", "๐ฌ—๐ฌ€", "๐ฌ˜๐ฌ€", "๐ฌ˜๐ฌ€", "๐ฌฆ๐ฌ€", "๐ฌ™๐ฌ€", "๐ฌš๐ฌ€", "๐ฌ›๐ฌ€", "๐ฌ›๐ฌ€", "๐ฌง๐ฌ€", "๐ฌ™๐ฌ€", "๐ฌš๐ฌ€", "๐ฌ›๐ฌ€", "๐ฌœ๐ฌ€", "๐ฌฅ๐ฌ€", "๐ฌž๐ฌ€", "๐ฌž๐ฌ€", "๐ฌ ๐ฌ€", "๐ฌ ๐ฌ€", "๐ฌจ๐ฌ€", "๐ฌซ๐ฌ€", "๐ฌญ๐ฌ€", "๐ฌฎ๐ฌ€", "๐ฌฌ๐ฌ€", "๐ฌฑ๐ฌ€", "๐ฌด๐ฌ€", "๐ฌฏ๐ฌ€", "๐ฌต๐ฌ€", "๐ฌฎ๐ฌ€", "๐ฌ๐ฌด๐ฌ€", "๐ฌ˜๐ฌฆ๐ฌ€"],
"symbols": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "๐ฌ‹๐ฌจ", "", "๐ฌผโ€", "๐ฌฝโ€"],
"zwj": ["\u200D"],
"skip": [""],
"accent": ["\u0951", "\u0952"],
"combo_accent": ["๐ฌต'", "๐ฌต_", "๐ฌฉ'", "๐ฌฉ_"],
"candra": ["๐ฌ‰"],
"other": ["๐ฌ๐ฌ€", "๐ฌ“๐ฌ€", "๐ฌ•๐ฌ€", "๐ฌฐ๐ฌ€", "๐ฌ›๐ฌ€", "๐ฌœ๐ฌ€", "๐ฌŸ๐ฌ€", "๐ฌช๐ฌ€", "๐ฌญ๐ฌ€"]
}
14 changes: 14 additions & 0 deletions src/schemes/brahmic/balinese.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"vowels": ["แฌ…", "แฌ†", "แฌ‡", "แฌˆ", "แฌ‰", "แฌŠ", "แฌ‹", "แฌŒ", "แฌ", "แฌŽ", "แฌ", "แฌ", "แฌ", "แฌ‘", "แฌ‘", "แฌ’"],
"vowel_marks": ["แฌต", "แฌถ", "แฌท", "แฌธ", "แฌน", "แฌบ", "แฌป", "แฌผ", "แฌฝ", "แฌพ", "แฌพ", "แฌฟ", "แญ€", "แญ€", "แญ"],
"other_marks": ["แฌ‚", "แฌ„", "แฌ"],
"virama": ["แญ„"],
"consonants": ["แฌ“", "แฌ”", "แฌ•", "แฌ–", "แฌ—", "แฌ˜", "แฌ™", "แฌš", "แฌ›", "แฌœ", "แฌ", "แฌž", "แฌŸ", "แฌ ", "แฌก", "แฌข", "แฌฃ", "แฌค", "แฌฅ", "แฌฆ", "แฌง", "แฌจ", "แฌฉ", "แฌช", "แฌซ", "แฌฌ", "แฌญ", "แฌฎ", "แฌฏ", "แฌฐ", "แฌฑ", "แฌฒ", "แฌณ", "แฌฎแฌด", "แฌ“แญ„แฌฑ", "แฌšแญ„แฌœ"],
"symbols": ["แญ", "แญ‘", "แญ’", "แญ“", "แญ”", "แญ•", "แญ–", "แญ—", "แญ˜", "แญ™", "แฌ‘แฌ", "'", "แญž", "แญŸ"],
"zwj": ["\u200D"],
"skip": [""],
"accent": ["\u0951", "\u0952"],
"combo_accent": ["แฌ„เฅ‘", "แฌ„เฅ’", "แฌ‚เฅ‘", "แฌ‚เฅ’"],
"candra": ["แฌพ"],
"other": ["แฌ“แฌด", "แฌ”แฌด", "แฌ•แฌด", "แฌšแฌด", "แฌŸแฌด", "แฌ แฌด", "แฌงแฌด", "แฌฌแฌด", "แฌญแฌด"]
}
9 changes: 9 additions & 0 deletions src/schemes/brahmic/bengali.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"vowels": ["เฆ…", "เฆ†", "เฆ‡", "เฆˆ", "เฆ‰", "เฆŠ", "เฆ‹", "เง ", "เฆŒ", "เงก", "", "เฆ", "เฆ", "", "เฆ“", "เฆ”"],
"vowel_marks": ["เฆพ", "เฆฟ", "เง€", "เง", "เง‚", "เงƒ", "เง„", "เงข", "เงฃ", "", "เง‡", "เงˆ", "", "เง‹", "เงŒ"],
"other_marks": ["เฆ‚", "เฆƒ", "เฆ"],
"virama": ["เง"],
"consonants": ["เฆ•", "เฆ–", "เฆ—", "เฆ˜", "เฆ™", "เฆš", "เฆ›", "เฆœ", "เฆ", "เฆž", "เฆŸ", "เฆ ", "เฆก", "เฆข", "เฆฃ", "เฆค", "เฆฅ", "เฆฆ", "เฆง", "เฆจ", "เฆช", "เฆซ", "เฆฌ", "เฆญ", "เฆฎ", "เฆฏ", "เฆฐ", "เฆฒ", "เฆฌ", "เฆถ", "เฆท", "เฆธ", "เฆน", "เคณ", "เฆ•เงเฆท", "เฆœเงเฆž"],
"symbols": ["เงฆ", "เงง", "เงจ", "เงฉ", "เงช", "เงซ", "เงฌ", "เงญ", "เงฎ", "เงฏ", "เฅ", "เฆฝ", "เฅค", "เฅฅ"],
"other": ["", "", "", "", "เฆก", "เฆข", "", "เฆฏ", ""]
}
14 changes: 14 additions & 0 deletions src/schemes/brahmic/bhaisuki.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"vowels": ["๐‘ฐ€", "๐‘ฐ", "๐‘ฐ‚", "๐‘ฐƒ", "๐‘ฐ„", "๐‘ฐ…", "๐‘ฐ†", "๐‘ฐ‡", "๐‘ฐˆ", "๐‘ฐˆ", "๐‘ฐŠ", "๐‘ฐŠ", "๐‘ฐ‹", "๐‘ฐŒ", "๐‘ฐŒ", "๐‘ฐ"],
"vowel_marks": ["๐‘ฐฏ", "๐‘ฐฐ", "๐‘ฐฑ", "๐‘ฐฒ", "๐‘ฐณ", "๐‘ฐด", "๐‘ฐต", "๐‘ฐถ", "๐‘ฐถ", "๐‘ฐธ", "๐‘ฐธ", "๐‘ฐน", "๐‘ฐบ", "๐‘ฐบ", "๐‘ฐป"],
"other_marks": ["๐‘ฐฝ", "๐‘ฐพ", "๐‘ฐผ"],
"virama": ["๐‘ฐฟ"],
"consonants": ["๐‘ฐŽ", "๐‘ฐ", "๐‘ฐ", "๐‘ฐ‘", "๐‘ฐ’", "๐‘ฐ“", "๐‘ฐ”", "๐‘ฐ•", "๐‘ฐ–", "๐‘ฐ—", "๐‘ฐ˜", "๐‘ฐ™", "๐‘ฐš", "๐‘ฐ›", "๐‘ฐœ", "๐‘ฐ", "๐‘ฐž", "๐‘ฐŸ", "๐‘ฐ ", "๐‘ฐก", "๐‘ฐข", "๐‘ฐฃ", "๐‘ฐค", "๐‘ฐฅ", "๐‘ฐฆ", "๐‘ฐง", "๐‘ฐจ", "๐‘ฐฉ", "๐‘ฐช", "๐‘ฐซ", "๐‘ฐฌ", "๐‘ฐญ", "๐‘ฐฎ", "๐‘ฐฉ", "๐‘ฐŽ๐‘ฐฟ๐‘ฐฌ", "๐‘ฐ•๐‘ฐฟ๐‘ฐ—"],
"symbols": ["๐‘ฑ", "๐‘ฑ‘", "๐‘ฑ’", "๐‘ฑ“", "๐‘ฑ”", "๐‘ฑ•", "๐‘ฑ–", "๐‘ฑ—", "๐‘ฑ˜", "๐‘ฑ™", "๐‘ฐŒ๐‘ฐผ", "๐‘ฑ€", "๐‘ฑ", "๐‘ฑ‚"],
"zwj": ["\u200D"],
"skip": [""],
"accent": ["\u0951", "\u0952"],
"combo_accent": ["๐‘ฐพเฅ‘", "๐‘ฐพเฅ’", "๐‘ฐฝเฅ‘", "๐‘ฐฝเฅ’"],
"candra": ["๐‘ฐธ"],
"other": ["๐‘ฐŽ", "๐‘ฐ", "๐‘ฐ", "๐‘ฐ•", "๐‘ฐš", "๐‘ฐ›", "๐‘ฐฃ", "๐‘ฐง", "๐‘ฐจ"]
}
14 changes: 14 additions & 0 deletions src/schemes/brahmic/brahmi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"vowels": ["๐‘€…", "๐‘€†", "๐‘€‡", "๐‘€ˆ", "๐‘€‰", "๐‘€Š", "๐‘€‹", "๐‘€Œ", "๐‘€", "๐‘€Ž", "๐‘€๐‘†", "๐‘€", "๐‘€", "๐‘€‘๐‘†", "๐‘€‘", "๐‘€’"],
"vowel_marks": ["๐‘€ธ", "๐‘€บ", "๐‘€ป", "๐‘€ผ", "๐‘€ฝ", "๐‘€พ", "๐‘€ฟ", "๐‘€", "๐‘", "๐‘‚", "๐‘‚", "๐‘ƒ", "๐‘„", "๐‘„", "๐‘…"],
"other_marks": ["๐‘€", "๐‘€‚", "๐‘€€"],
"virama": ["๐‘†"],
"consonants": ["๐‘€“", "๐‘€”", "๐‘€•", "๐‘€–", "๐‘€—", "๐‘€˜", "๐‘€™", "๐‘€š", "๐‘€›", "๐‘€œ", "๐‘€", "๐‘€ž", "๐‘€Ÿ", "๐‘€ ", "๐‘€ก", "๐‘€ข", "๐‘€ฃ", "๐‘€ค", "๐‘€ฅ", "๐‘€ฆ", "๐‘€ง", "๐‘€จ", "๐‘€ฉ", "๐‘€ช", "๐‘€ซ", "๐‘€ฌ", "๐‘€ญ", "๐‘€ฎ", "๐‘€ฏ", "๐‘€ฐ", "๐‘€ฑ", "๐‘€ฒ", "๐‘€ณ", "๐‘€ด", "๐‘€“๐‘†๐‘€ฑ", "๐‘€š๐‘†๐‘€œ"],
"symbols": ["๐‘ฆ", "๐‘ง", "๐‘จ", "๐‘ฉ", "๐‘ช", "๐‘ซ", "๐‘ฌ", "๐‘ญ", "๐‘ฎ", "๐‘ฏ", "๐‘€‘๐‘€", "", "๐‘‡", "๐‘ˆ"],
"zwj": ["\u200D"],
"skip": [""],
"accent": ["\u0951", "\u0952"],
"combo_accent": ["๐‘€‚เฅ‘", "๐‘€‚เฅ’", "๐‘€เฅ‘", "๐‘€เฅ’"],
"candra": ["๐‘‚"],
"other": ["๐‘€“", "๐‘€”", "๐‘€•", "๐‘€š", "๐‘€Ÿ", "๐‘€ ", "๐‘€จ", "๐‘€ฌ", "๐‘€ญ"]
}
10 changes: 10 additions & 0 deletions src/schemes/brahmic/brahmi_tamil.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"vowels": ["๐‘€…", "๐‘€†", "๐‘€‡", "๐‘€ˆ", "๐‘€‰", "๐‘€Š", "๐‘€ญ๐‘€ผ", "๐‘€ญ๐‘€ฝ", "๐‘€ฎ๐‘€ผ", "๐‘€ฎ๐‘€ฝ", "๐‘€๐‘†", "๐‘€", "๐‘€", "๐‘€‘๐‘†", "๐‘€‘", "๐‘€’"],
"vowel_marks": ["๐‘€ธ", "๐‘€บ", "๐‘€ป", "๐‘€ผ", "๐‘€ฝ", "๐‘†๐‘€ญ๐‘€ผ", "๐‘†๐‘€ญ๐‘€ฝ", "๐‘†๐‘€ฎ๐‘€ผ", "๐‘†๐‘€ฎ๐‘€ฝ", "๐‘‚๐‘†", "๐‘‚", "๐‘ƒ", "๐‘„๐‘†", "๐‘„", "๐‘…"],
"other_marks": ["๐‘€ซ๐‘†", "๐‘€‚", "๐‘€ซ๐‘†"],
"virama": ["๐‘†"],
"consonants": ["๐‘€“", "๐‘€“", "๐‘€“", "๐‘€“", "๐‘€—", "๐‘€˜", "๐‘€˜", "๐‘€š", "๐‘€š", "๐‘€œ", "๐‘€", "๐‘€", "๐‘€", "๐‘€", "๐‘€ก", "๐‘€ข", "๐‘€ข", "๐‘€ข", "๐‘€ฅ", "๐‘€ฆ", "๐‘€ง", "๐‘€ง", "๐‘€ง", "๐‘€ง", "๐‘€ซ", "๐‘€ฌ", "๐‘€ญ", "๐‘€ฎ", "๐‘€ฏ", "๐‘€ฐ", "๐‘€ฑ", "๐‘€ฒ", "๐‘€ณ", "๐‘€ด", "๐‘€“๐‘†๐‘€ฑ", "๐‘€š๐‘†๐‘€œ"],
"symbols": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "๐‘€‘๐‘€ซ๐‘†", "'", ".", ".."],
"candra": ["๐‘‚๐‘†"],
"other": ["๐‘€“", "๐‘€“", "๐‘€“", "๐‘€š", "๐‘€", "๐‘€", "๐‘€ง", "๐‘€ฌ", "๐‘€ถ"]
}
14 changes: 14 additions & 0 deletions src/schemes/brahmic/burmese.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"vowels": ["แ€ก", "แ€กแ€ฌ", "แ€ฃ", "แ€ค", "แ€ฅ", "แ€ฆ", "แ’", "แ“", "แ”", "แ•", "แ€ง", "แ€ง", "แ€กแ€ฒ", "แ€ฉ", "แ€ฉ", "แ€ช"],
"vowel_marks": ["แ€ฌ", "แ€ญ", "แ€ฎ", "แ€ฏ", "แ€ฐ", "แ–", "แ—", "แ˜", "แ™", "แ€ฑ", "แ€ฑ", "แ€ฒ", "แ€ฑแ€ฌ", "แ€ฑแ€ฌ", "แ€ฑแ€ฌแ€บ"],
"other_marks": ["แ€ถ", "แ€ธ", "แ€ถ"],
"virama": ["แ€บ"],
"consonants": ["แ€€", "แ€", "แ€‚", "แ€ƒ", "แ€„", "แ€…", "แ€†", "แ€‡", "แ€ˆ", "แ€‰", "แ€‹", "แ€Œ", "แ€", "แ€Ž", "แ€", "แ€", "แ€‘", "แ€’", "แ€“", "แ€”", "แ€•", "แ€–", "แ€—", "แ€˜", "แ€™", "แ€š", "แ€›", "แ€œ", "แ€", "แ", "แ‘", "แ€ž", "แ€Ÿ", "แ€ ", "แ€€แ€นแ‘", "แ€‡แ€นแ€‰"],
"symbols": ["แ€", "แ", "แ‚", "แƒ", "แ„", "แ…", "แ†", "แ‡", "แˆ", "แ‰", "แ€ฉแ€ถ", "'", "แŠ", "แ‹"],
"zwj": ["\u200D"],
"skip": [""],
"accent": ["\u0951", "\u0952"],
"combo_accent": ["แ€ธเฅ‘", "แ€ธเฅ’", "แ€ถเฅ‘", "แ€ถเฅ’"],
"candra": ["แ€ฑ"],
"other": ["แ€€", "แ€", "แ€‚", "แ€‡", "แ€", "แ€Ž", "แ€–", "แ€š", "แ€›"]
}
14 changes: 14 additions & 0 deletions src/schemes/brahmic/chakma.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"vowels": ["๐‘„ƒ๐‘„ง", "๐‘„ƒ", "๐‘„ƒ๐‘„จ", "๐‘„ƒ๐‘„ฉ", "๐‘„ƒ๐‘„ช", "๐‘„ƒ๐‘„ซ", "๐‘„ข๐‘„ช", "๐‘„ข๐‘„ซ", "๐‘„ฃ๐‘„ช", "๐‘„ฃ๐‘„ซ", "๐‘„ƒ๐‘„ฌ", "๐‘„ƒ๐‘„ฌ", "๐‘„ƒ๐‘„ญ", "๐‘„ƒ๐‘„ฎ", "๐‘„ƒ๐‘„ฎ", "๐‘„ƒ๐‘„ฏ"],
"vowel_marks": ["", "๐‘„จ", "๐‘„ฉ", "๐‘„ช", "๐‘„ซ", "๐‘„ณ๐‘„ข๐‘„ช", "๐‘„ณ๐‘„ข๐‘„ซ", "๐‘„ณ๐‘„ฃ๐‘„ช", "๐‘„ณ๐‘„ฃ๐‘„ซ", "๐‘„ฌ", "๐‘„ฌ", "๐‘„ญ", "๐‘„ฎ", "๐‘„ฎ", "๐‘„ฏ"],
"other_marks": ["๐‘„", "๐‘„‚", "๐‘„€"],
"virama": ["๐‘„ด"],
"consonants": ["๐‘„‡๐‘„ง", "๐‘„ˆ๐‘„ง", "๐‘„‰๐‘„ง", "๐‘„Š๐‘„ง", "๐‘„‹๐‘„ง", "๐‘„Œ๐‘„ง", "๐‘„๐‘„ง", "๐‘„Ž๐‘„ง", "๐‘„๐‘„ง", "๐‘„๐‘„ง", "๐‘„‘๐‘„ง", "๐‘„’๐‘„ง", "๐‘„“๐‘„ง", "๐‘„”๐‘„ง", "๐‘„•๐‘„ง", "๐‘„–๐‘„ง", "๐‘„—๐‘„ง", "๐‘„˜๐‘„ง", "๐‘„™๐‘„ง", "๐‘„š๐‘„ง", "๐‘„›๐‘„ง", "๐‘„œ๐‘„ง", "๐‘„๐‘„ง", "๐‘„ž๐‘„ง", "๐‘„Ÿ๐‘„ง", "๐‘„ก๐‘„ง", "๐‘„ข๐‘„ง", "๐‘„ฃ๐‘„ง", "๐‘„ค๐‘„ง", "๐‘„ฅ๐‘„ง", "๐‘„ฅ๐‘„ง", "๐‘„ฅ๐‘„ง", "๐‘„ฆ๐‘„ง", "๐‘„ฃ๐‘„ง", "๐‘„‡๐‘„ด๐‘„ฅ๐‘„ง", "๐‘„Ž๐‘„ด๐‘„๐‘„ง"],
"symbols": ["๐‘„ถ", "๐‘„ท", "๐‘„ธ", "๐‘„น", "๐‘„บ", "๐‘„ป", "๐‘„ผ", "๐‘„ฝ", "๐‘„พ", "๐‘„ฟ", "๐‘„ƒ๐‘„ฎ๐‘„€", "'", "๐‘…", "๐‘…‚"],
"zwj": ["\u200D"],
"skip": [""],
"accent": ["\u0951", "\u0952"],
"combo_accent": ["๐‘„‚เฅ‘", "๐‘„‚เฅ’", "๐‘„เฅ‘", "๐‘„เฅ’"],
"candra": ["๐‘„ฌ"],
"other": ["๐‘„‡๐‘„ง", "๐‘„ˆ๐‘„ง", "๐‘„‰๐‘„ง", "๐‘„Ž๐‘„ง", "๐‘„“๐‘„ง", "๐‘„”๐‘„ง", "๐‘„œ๐‘„ง", "๐‘„ ๐‘„ง", "๐‘„ข๐‘„ง"]
}
14 changes: 14 additions & 0 deletions src/schemes/brahmic/cham.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"vowels": ["๊จ€", "๊จ€๊จฉ", "๊จ", "๊จ๊จฉ", "๊จ‚", "๊จ‚๊จฉ", "๊จฃ๊จฎ", "๊จฃ๊จฎ๊จฉ", "๊จค๊จฎ", "๊จค๊จฎ๊จฉ", "๊จƒ", "๊จƒ", "๊จ„", "๊จ…", "๊จ…", "๊จ€๊จฏ๊จฑ"],
"vowel_marks": ["๊จฉ", "๊จช", "๊จซ", "๊จญ", "๊จญ๊จฉ", "๊จด๊จฎ", "๊จด๊จฎ๊จฉ", "๊จต๊จฎ", "๊จต๊จฎ๊จฉ", "๊จฏ๊จฎ", "๊จฏ๊จฎ", "๊จฐ", "๊จฎ", "๊จฏ", "๊จฏ๊จฑ"],
"other_marks": ["๊ฉŒ", "๊ฉ", "๊ฉƒ"],
"virama": ["สพ"],
"consonants": ["๊จ†", "๊จ‡", "๊จˆ", "๊จ‰", "๊จ‹", "๊จŒ", "๊จ", "๊จŽ", "๊จ", "๊จ‘", "๊จ“", "๊จ”", "๊จ•", "๊จ–", "๊จ˜", "๊จ“", "๊จ”", "๊จ•", "๊จ–", "๊จ˜", "๊จš", "๊จœ", "๊จ", "๊จž", "๊จ ", "๊จข", "๊จฃ", "๊จค", "๊จฅ", "๊จฆ", "๊จฆ", "๊จง", "๊จจ", "๊จค", "๊ฉ€๊จฆ", "๊ฉ„๊จ‘"],
"symbols": ["๊ฉ", "๊ฉ‘", "๊ฉ’", "๊ฉ“", "๊ฉ”", "๊ฉ•", "๊ฉ–", "๊ฉ—", "๊ฉ˜", "๊ฉ™", "๊จ…๊ฉŒ", "'", "๊ฉ", "๊ฉž"],
"zwj": ["\u200D"],
"skip": [""],
"accent": ["\u0951", "\u0952"],
"combo_accent": ["๊ฉเฅ‘", "๊ฉเฅ’", "๊ฉŒเฅ‘", "๊ฉŒเฅ’"],
"candra": ["๊จฏ๊จฎ"],
"other": ["๊จ†", "๊จ‡", "๊จˆ", "๊จŽ", "๊จ•", "๊จ–", "๊จœ", "๊จฅ", "๊จฃ"]
}
9 changes: 9 additions & 0 deletions src/schemes/brahmic/cyrillic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"vowels": ["ะฐ", "ะฐฬ„", "ะธ", "ำฃ", "ัƒ", "ำฏ", "ั€ฬฃ", "ั€ฬฃฬ„", "ะปฬฃ", "ะปฬฃฬ„", "ัฬ†", "ั", "ะฐะธ", "ะพฬ†", "ะพ", "ะฐัƒ"],
"other_marks": ["ะผฬฃ", "ั…ฬฃ", "ะผฬ"],
"virama": [""],
"consonants": ["ะบ", "ะบั…", "ะณ", "ะณั…", "ะฝฬ‡", "ั‡", "ั‡ั…", "ะดะถ", "ะดะถั…", "ะฝฬƒ", "ั‚ฬฃ", "ั‚ฬฃั…", "ะดฬฃ", "ะดฬฃั…", "ะฝฬฃ", "ั‚", "ั‚ั…", "ะด", "ะดั…", "ะฝ", "ะฟ", "ะฟั…", "ะฑ", "ะฑั…", "ะผ", "ะน", "ั€", "ะป", "ะฒ", "ัˆฬ", "ัˆ", "ั", "ั…", "ะปฬค", "ะบัˆ", "ะดะถะฝฬƒ"],
"symbols": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "ะพะผฬฃ", "'", "เฅค", "เฅฅ"],
"candra": ["ำ•"],
"other": ["ิ›", "ะบอŸั…", "ะณฬ‡", "ะท", "ั€ฬค", "ั€ฬคั…", "ั„", "ะนฬฃ", "ั€ฬฑ"]
}
14 changes: 14 additions & 0 deletions src/schemes/brahmic/devanagari.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"vowels": ["เค…", "เค†", "เค‡", "เคˆ", "เค‰", "เคŠ", "เค‹", "เฅ ", "เคŒ", "เฅก", "เคŽ", "เค", "เค", "เค’", "เค“", "เค”"],
"vowel_marks": ["เคพ", "เคฟ", "เฅ€", "เฅ", "เฅ‚", "เฅƒ", "เฅ„", "เฅข", "เฅฃ", "เฅ†", "เฅ‡", "เฅˆ", "เฅŠ", "เฅ‹", "เฅŒ"],
"other_marks": ["เค‚", "เคƒ", "เค"],
"virama": ["เฅ"],
"consonants": ["เค•", "เค–", "เค—", "เค˜", "เค™", "เคš", "เค›", "เคœ", "เค", "เคž", "เคŸ", "เค ", "เคก", "เคข", "เคฃ", "เคค", "เคฅ", "เคฆ", "เคง", "เคจ", "เคช", "เคซ", "เคฌ", "เคญ", "เคฎ", "เคฏ", "เคฐ", "เคฒ", "เคต", "เคถ", "เคท", "เคธ", "เคน", "เคณ", "เค•เฅเคท", "เคœเฅเคž"],
"symbols": ["เฅฆ", "เฅง", "เฅจ", "เฅฉ", "เฅช", "เฅซ", "เฅฌ", "เฅญ", "เฅฎ", "เฅฏ", "เฅ", "เคฝ", "เฅค", "เฅฅ"],
"zwj": ["\u200D"],
"skip": [""],
"accent": ["\u0951", "\u0952"],
"combo_accent": ["เคƒเฅ‘", "เคƒเฅ’", "เค‚เฅ‘", "เค‚เฅ’"],
"candra": ["เฅ…"],
"other": ["เค•เคผ", "เค–เคผ", "เค—เคผ", "เคœเคผ", "เคกเคผ", "เคขเคผ", "เคซเคผ", "เคฏเคผ", "เคฑ"]
}
14 changes: 14 additions & 0 deletions src/schemes/brahmic/dogra.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"vowels": ["๐‘ €", "๐‘ ", "๐‘ ‚", "๐‘ ƒ", "๐‘ „", "๐‘ …", "๐‘ ค๐‘ ญ", "๐‘ ค๐‘ ฎ", "๐‘ ฅ๐‘ ญ", "๐‘ ฅ๐‘ ฎ", "๐‘ †", "๐‘ †", "๐‘ ‡", "๐‘ ˆ", "๐‘ ˆ", "๐‘ ‰"],
"vowel_marks": ["๐‘ ฌ", "๐‘ ญ", "๐‘ ฎ", "๐‘ ฏ", "๐‘ ฐ", "๐‘ ฑ", "๐‘ ฒ", "๐‘ น๐‘ ฅ๐‘ ญ", "๐‘ น๐‘ ฅ๐‘ ฎ", "๐‘ ณ", "๐‘ ณ", "๐‘ ด", "๐‘ ต", "๐‘ ต", "๐‘ ถ"],
"other_marks": ["๐‘ ท", "๐‘ ธ", "๐‘ ท"],
"virama": ["๐‘ น"],
"consonants": ["๐‘ Š", "๐‘ ‹", "๐‘ Œ", "๐‘ ", "๐‘ Ž", "๐‘ ", "๐‘ ", "๐‘ ‘", "๐‘ ’", "๐‘ “", "๐‘ ”", "๐‘ •", "๐‘ –", "๐‘ —", "๐‘ ˜", "๐‘ ™", "๐‘ š", "๐‘ ›", "๐‘ œ", "๐‘ ", "๐‘ ž", "๐‘ Ÿ", "๐‘  ", "๐‘ ก", "๐‘ ข", "๐‘ ฃ", "๐‘ ค", "๐‘ ฅ", "๐‘ ฆ", "๐‘ ง", "๐‘ จ", "๐‘ ฉ", "๐‘ ช", "๐‘ ฅ๐‘ บ", "๐‘ Š๐‘ น๐‘ จ", "๐‘ ‘๐‘ น๐‘ “"],
"symbols": ["เฅฆ", "เฅง", "เฅจ", "เฅฉ", "เฅช", "เฅซ", "เฅฌ", "เฅญ", "เฅฎ", "เฅฏ", "๐‘ ˆ๐‘ ท", "เคฝ", "เฅค", "เฅฅ"],
"zwj": ["\u200D"],
"skip": [""],
"accent": ["\u0951", "\u0952"],
"combo_accent": ["๐‘ ธเฅ‘", "๐‘ ธเฅ’", "๐‘ ทเฅ‘", "๐‘ ทเฅ’"],
"candra": ["๐‘ ณ"],
"other": ["๐‘ Š๐‘ บ", "๐‘ ‹๐‘ บ", "๐‘ Œ๐‘ บ", "๐‘ ‘๐‘ บ", "๐‘ ซ", "๐‘ —๐‘ บ", "๐‘ Ÿ๐‘ บ", "๐‘ ฃ๐‘ บ", "๐‘ ค๐‘ บ"]
}
14 changes: 14 additions & 0 deletions src/schemes/brahmic/gondi_gunjala.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"vowels": ["๐‘ต ", "๐‘ตก", "๐‘ตข", "๐‘ตฃ", "๐‘ตค", "๐‘ตฅ", "๐‘ถˆ๐‘ถ", "๐‘ถˆ๐‘ถŽ", "๐‘ตต๐‘ถ", "๐‘ตต๐‘ถŽ", "๐‘ตง", "๐‘ตง", "๐‘ตจ", "๐‘ตช", "๐‘ตช", "๐‘ตซ"],
"vowel_marks": ["๐‘ถŠ", "๐‘ถ‹", "๐‘ถŒ", "๐‘ถ", "๐‘ถŽ", "๐‘ถ—๐‘ถˆ๐‘ถ", "๐‘ถ—๐‘ถˆ๐‘ถŽ", "๐‘ถ—๐‘ตต๐‘ถ", "๐‘ถ—๐‘ตต๐‘ถŽ", "๐‘ถ", "๐‘ถ", "๐‘ถ‘", "๐‘ถ“", "๐‘ถ“", "๐‘ถ”"],
"other_marks": ["๐‘ถ•", "๐‘ถ–", "๐‘ถ•"],
"virama": [""],
"consonants": ["๐‘ตฑ", "๐‘ตฒ", "๐‘ตถ", "๐‘ตท", "๐‘ถ„", "๐‘ตป", "๐‘ตผ", "๐‘ถ€", "๐‘ถ", "๐‘ตบ", "๐‘ตฝ", "๐‘ตพ", "๐‘ถ‚", "๐‘ถƒ", "๐‘ตบ", "๐‘ตณ", "๐‘ตด", "๐‘ตธ", "๐‘ตน", "๐‘ตบ", "๐‘ถ…", "๐‘ถ†", "๐‘ตฎ", "๐‘ตฏ", "๐‘ตฐ", "๐‘ตฌ", "๐‘ถˆ", "๐‘ตต", "๐‘ตญ", "๐‘ถ‰", "๐‘ถ‰", "๐‘ถ‰", "๐‘ถ‡", "๐‘ตฟ", "๐‘ตฑ๐‘ถ—๐‘ถ‰", "๐‘ถ€๐‘ถ—๐‘ตบ"],
"symbols": ["๐‘ถ ", "๐‘ถก", "๐‘ถข", "๐‘ถฃ", "๐‘ถค", "๐‘ถฅ", "๐‘ถฆ", "๐‘ถง", "๐‘ถจ", "๐‘ถฉ", "๐‘ถ˜", "", ".", ".."],
"zwj": ["\u200D"],
"skip": [""],
"accent": ["\u0951", "\u0952"],
"combo_accent": ["๐‘ถ–เฅ‘", "๐‘ถ–เฅ’", "๐‘ถ•เฅ‘", "๐‘ถ•เฅ’"],
"candra": ["๐‘ถ"],
"other": ["๐‘ตฑ", "๐‘ตฒ", "๐‘ตถ", "๐‘ถ€", "๐‘ถ‚", "๐‘ถƒ", "๐‘ถ†", "๐‘ตฌ", "๐‘ถˆ"]
}
14 changes: 14 additions & 0 deletions src/schemes/brahmic/gondi_masaram.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"vowels": ["๐‘ด€", "๐‘ด", "๐‘ด‚", "๐‘ดƒ", "๐‘ด„", "๐‘ด…", "๐‘ดฆ๐‘ดถ", "๐‘ดฆ๐‘ดต", "๐‘ดง๐‘ดด", "๐‘ดง๐‘ดต", "๐‘ด†", "๐‘ด†", "๐‘ดˆ", "๐‘ด‰", "๐‘ด‰", "๐‘ด‹"],
"vowel_marks": ["๐‘ดฑ", "๐‘ดฒ", "๐‘ดณ", "๐‘ดด", "๐‘ดต", "๐‘ดถ", "๐‘ต…๐‘ดฆ๐‘ดต", "๐‘ต…๐‘ดง๐‘ดด", "๐‘ต…๐‘ดง๐‘ดต", "๐‘ดบ", "๐‘ดบ", "๐‘ดผ", "๐‘ดฝ", "๐‘ดฝ", "๐‘ดฟ"],
"other_marks": ["๐‘ต€", "๐‘ต", "๐‘ต€"],
"virama": ["๐‘ต„"],
"consonants": ["๐‘ดŒ", "๐‘ด", "๐‘ดŽ", "๐‘ด", "๐‘ด", "๐‘ด‘", "๐‘ด’", "๐‘ด“", "๐‘ด”", "๐‘ด•", "๐‘ด–", "๐‘ด—", "๐‘ด˜", "๐‘ด™", "๐‘ดš", "๐‘ด›", "๐‘ดœ", "๐‘ด", "๐‘ดž", "๐‘ดŸ", "๐‘ด ", "๐‘ดก", "๐‘ดข", "๐‘ดฃ", "๐‘ดค", "๐‘ดฅ", "๐‘ดฆ", "๐‘ดง", "๐‘ดจ", "๐‘ดฉ", "๐‘ดช", "๐‘ดซ", "๐‘ดฌ", "๐‘ดญ", "๐‘ดฎ", "๐‘ดฏ"],
"symbols": ["๐‘ต", "๐‘ต‘", "๐‘ต’", "๐‘ต“", "๐‘ต”", "๐‘ต•", "๐‘ต–", "๐‘ต—", "๐‘ต˜", "๐‘ต™", "๐‘ด‰๐‘ต€", "", "เฅค", "เฅฅ"],
"zwj": ["\u200D"],
"skip": [""],
"accent": ["\u0951", "\u0952"],
"combo_accent": ["๐‘ตเฅ‘", "๐‘ตเฅ’", "๐‘ต€เฅ‘", "๐‘ต€เฅ’"],
"candra": ["๐‘ดบ"],
"other": ["๐‘ดŒ๐‘ต‚", "๐‘ด๐‘ต‚", "๐‘ดŽ๐‘ต‚", "๐‘ด“๐‘ต‚", "๐‘ด˜๐‘ต‚", "๐‘ด™๐‘ต‚", "๐‘ดก๐‘ต‚", "๐‘ดฅ๐‘ต‚", "๐‘ดฆ๐‘ต‚"]
}
10 changes: 10 additions & 0 deletions src/schemes/brahmic/grantha.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"vowels": ["๐‘Œ…", "๐‘Œ†", "๐‘Œ‡", "๐‘Œˆ", "๐‘Œ‰", "๐‘ŒŠ", "๐‘Œ‹", "๐‘ ", "๐‘ŒŒ", "๐‘ก", "๐‘Œ๐‘Œ€", "๐‘Œ", "๐‘Œ", "๐‘Œ“๐‘Œ€", "๐‘Œ“", "๐‘Œ”"],
"vowel_marks": ["๐‘Œพ", "๐‘Œฟ", "๐‘€", "๐‘", "๐‘‚", "๐‘ƒ", "๐‘„", "๐‘ข", "๐‘ฃ", "๐‘‡๐‘Œ€", "๐‘‡", "๐‘ˆ", "๐‘‹๐‘Œ€", "๐‘‹", "๐‘—"],
"other_marks": ["๐‘Œ‚", "๐‘Œƒ", "๐‘Œ"],
"virama": ["๐‘"],
"consonants": ["๐‘Œ•", "๐‘Œ–", "๐‘Œ—", "๐‘Œ˜", "๐‘Œ™", "๐‘Œš", "๐‘Œ›", "๐‘Œœ", "๐‘Œ", "๐‘Œž", "๐‘ŒŸ", "๐‘Œ ", "๐‘Œก", "๐‘Œข", "๐‘Œฃ", "๐‘Œค", "๐‘Œฅ", "๐‘Œฆ", "๐‘Œง", "๐‘Œจ", "๐‘Œช", "๐‘Œซ", "๐‘Œฌ", "๐‘Œญ", "๐‘Œฎ", "๐‘Œฏ", "๐‘Œฐ", "๐‘Œฒ", "๐‘Œต", "๐‘Œถ", "๐‘Œท", "๐‘Œธ", "๐‘Œน", "๐‘Œณ", "๐‘Œ•๐‘๐‘Œท", "๐‘Œœ๐‘๐‘Œž"],
"symbols": ["เฏฆ", "เฏง", "เฏจ", "เฏฉ", "เฏช", "เฏซ", "เฏฌ", "เฏญ", "เฏฎ", "เฏฏ", "๐‘", "๐‘Œฝ", "เฅค", "เฅฅ"],
"candra": ["๐‘‡"],
"other": ["๐‘Œ•๐‘Œผ", "๐‘Œ–๐‘Œผ", "๐‘Œ—๐‘Œผ", "๐‘Œœ๐‘Œผ", "๐‘Œก๐‘Œผ", "๐‘Œข๐‘Œผ", "๐‘Œซ๐‘Œผ", "๐‘Œฏ๐‘Œผ", "๐‘Œฐ๐‘Œผ"]
}
Loading

0 comments on commit 08a42b2

Please sign in to comment.