@myanmartools/zawgyi-unicode-translit-rules
v1.1.6
Published
Zawgyi Unicode transliterate/convert regular expression rules in JavaScript formats using @dagonmetric/ng-translit package.
Downloads
135
Keywords
Readme
Zawgyi Unicode Transliterate Rules
Zawgyi Unicode transliterate / convert regular expression rules in JavaScript formats that can work with @dagonmetric/ package.
Features
- High performance, reliable, accurate and perfect Zawgyi to Unicode and Unicode to Zawgyi conversion rules!
- Fully tested with Myanmar Spelling Book (မြန်မာ စာလုံးပေါင်း သတ်ပုံကျမ်း) data
- 100% code coverage unit tested
- Open source and MIT license!
Zawgyi-One to Unicode Rule Features
- Perfect conversion with five rule phases
- Overlapped characters normalization
- Space between accented characters normalization
- Order normalization
- Specialized conversion on Pahsin (ပါဌ်ဆင့်) and Kinsi (ကင်းစီး)
- Auto checking and converting between 'ဉ' (\u1009) and 'ဥ' (\u1025)
- Auto checking and converting from 'ဦ' (\u1025\u102E) to 'ဦ' (\u1026)
- Deep checking and converting between '၀' (သုည \u1040) and 'ဝ' (ဝလုံး \u101D)
- Customizable on/off rule parsing with
when
andskip
options
Unicode to Zawgyi-One Rule Features
- Perfect and performance optimized conversion with only one phase!
Getting Started
Installation
npm
npm install @myanmartools/zawgyi-unicode-translit-rules
or yarn
yarn add @myanmartools/zawgyi-unicode-translit-rules
Usage and Application
See Zawgyi Unicode Converter Angular PWA repo.
Live Application
Build & Test Tools
We use lib-tools for bundling, testing and packaging our library projects.
Feedback and Contributing
Check out the Contributing page to see the best places to log issues and start discussions.
License
This repository is licensed with the MIT license.