Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Malayalam unicode to mltt converter or encoder is a character encoder from Malayalam unicode characters to corresponding ML-TT character encodings. Using ML-TTKarthika character mapping for the task.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

aslamplr/unicode-to-mltt-converter

Repository files navigation

Malayalam unicode to mltt converter

Malayalam unicode to mltt converter

Malayalam unicode to mltt converter or encoder is a character encoder from Malayalam unicode characters to corresponding ML-TT character encodings. Using ML-TTKarthika character mapping for the task.

Built with Rust 🦀 and WebAssembly🕸

🚴 Usage

🌎 Web example

Requires bundler such as webpack with appropriate wasm loaders to consume the library. See the example in www directory for complete web application.

import * as mlttConverter from 'unicode-to-mltt-converter';

fetch("www/public/karthika.map").then((resp) => resp.text()).then((defaultCharmapVal) => {
    mlttConverter.convert(inputValue, defaultCharmapVal);
});

🖥 Run Rust 🦀 CLI util

cargo run -- www/public/karthika.map "പശ്ചിമഘട്ടത്തിലെ ചുരുക്കം സ്ഥലങ്ങളിൽ മാത്രം വിരളമായി കാണപ്പെടുന്ന ഒരിനം പൂമ്പാറ്റയാണ് മലബാർ മിന്നൻ" 

Outputs: ]ÝnaL«¯nse Npcp¡w Øe§fn am{Xw hncfambn ImWs¸Sp¶ Hcn\w ]q¼mäbmWv ae_mÀ an¶³

🛠️ Build with wasm-pack build

wasm-pack build

🔬 Run all unit and integration tests

cargo test

🔬 Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox

🕸 Web Application using React is in the www directory inside this repo. Separate README.md included for www.

Development dependencies

  • rustc 1.41.1
  • wasm-pack 0.9.1
  • node v13.7.0

About

Malayalam unicode to mltt converter or encoder is a character encoder from Malayalam unicode characters to corresponding ML-TT character encodings. Using ML-TTKarthika character mapping for the task.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published