aksara-ts
v1.0.0
Published
A library written in Typescript for converting latin text to aksara jawa. All output may not be correct, but it's a start.
Downloads
2
Readme
Aksara.ts
This is Aksara.ts , a project that currently is doing Javanese script to Latin script, and hopefully in the future includes some other indigenous scripts of Indonesia. Currently, only words without complex vowels will work (ex. CV only words or V initial words). I am planning on implementing someway to combine the elements at the unicode level though.
How to use
npm install aksara-ts
// Import Aksara
import { Aksara } from "aksara-ts";
// Create an Aksara object and save the converted text as carakan.
const name = new Aksara("Simon");
const carakan = name.getAksara(); // Simon -> ꦱꦶꦩꦺꦴꦤ꧀
TODO
- [x] Enable support for consonant final syllables (maybe by not dividing by strict syllables anymore but instead dividing into manageable pieces...)
- Enable support for explicit aksara vowels instead of only current h+vowel system.
- Enable aksara -> latin
- Maybe add an optional explicit breaks mode where a character like
_
can be used to explicitly break syllables ???