Skip to content
Zawgyi Unicode transliterate / convert regular expression rules in JavaScript and JSON formats that can work with @DagonMetric / ng-translit package.
TypeScript JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update workflow.yml Jan 1, 2020
modules Update package.json Oct 14, 2019
release-notes Update release notes Dec 31, 2019
scripts Add json script generate script Aug 21, 2019
.editorconfig Update .editorconfig Dec 30, 2019
.gitignore Add .gitignore Dec 30, 2019
CONTRIBUTING.md Update CONTRIBUTING.md Dec 30, 2019
LICENSE
README.md
angular-build.json
angular.json Update angular.json config Aug 21, 2019
azure-pipelines.yml Update azure-pipelines.yml Dec 30, 2019
package-lock.json
package.json Update dependency tslib to ^1.11.0 Feb 20, 2020
renovate.json
tsconfig.json
tslint.json Update tslint.json Dec 30, 2019

README.md

Zawgyi Unicode Transliterate Rules

GitHub Actions Status Azure Pipelines Status codecov npm version Gitter

Zawgyi Unicode transliterate / convert regular expression rules in JavaScript and JSON 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 and skip 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

Zawgyi Unicode Converter

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.

You can’t perform that action at this time.