Zawgyi ↔ Unicode Converter & Detector (Myanmar / Burmese) avatar

Zawgyi ↔ Unicode Converter & Detector (Myanmar / Burmese)

Pricing

from $0.50 / 1,000 text processed

Go to Apify Store
Zawgyi ↔ Unicode Converter & Detector (Myanmar / Burmese)

Zawgyi ↔ Unicode Converter & Detector (Myanmar / Burmese)

Detect whether Burmese text is Zawgyi or Unicode and convert it, in bulk. Clean CRM records, scraped data and AI training text. Powered by Google's myanmar-tools.

Pricing

from $0.50 / 1,000 text processed

Rating

0.0

(0)

Developer

Zin Min Khant

Zin Min Khant

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

4 days ago

Last modified

Categories

Features

Limited permissions

Share

Burmese text online is still a mix of Zawgyi and Unicode, and the two look the same but are encoded differently. Mixed data breaks search, sorting, deduplication and AI models. This Actor detects the encoding of every text and converts Zawgyi to Unicode (or back), in bulk.

Use cases

  • Clean CRM, customer and order data from Myanmar
  • Normalize scraped Facebook, Telegram or web text before analysis
  • Prepare Burmese datasets for AI / LLM training and RAG
  • Fix search: make Zawgyi and Unicode versions of the same word match

Input

Plain texts:

{ "texts": ["ျမန္မာ", "မြန်မာ", "hello"] }

Records: only the chosen field is converted, everything else is returned unchanged:

{ "records": [{ "id": 7, "name": "Ko Aung", "address": "ရန္ကုန္ၿမိဳ႕" }], "textField": "address" }

Modes

ModeWhat it does
toUnicode (default)Detects each text; converts only Zawgyi, leaves Unicode and English alone
forceToUnicodeTreats every text as Zawgyi and converts
toZawgyiConverts Unicode to Zawgyi (for legacy systems)
detectOnlyReturns the encoding and probability only

Output

Real output from a local run of the inputs above:

[
{
"index": 0,
"input": "ျမန္မာ",
"output": "မြန်မာ",
"detectedEncoding": "zawgyi",
"zawgyiProbability": 0.9999993195406226,
"converted": true
},
{
"index": 1,
"input": "မြန်မာ",
"output": "မြန်မာ",
"detectedEncoding": "unicode",
"zawgyiProbability": 0.0001051592135954534,
"converted": false
},
{
"index": 2,
"input": "hello",
"output": "hello",
"detectedEncoding": "none",
"zawgyiProbability": null,
"converted": false
},
{
"index": 3,
"input": "ရန္ကုန္ၿမိဳ႕",
"output": "ရန်ကုန်မြို့",
"detectedEncoding": "zawgyi",
"zawgyiProbability": 0.9999999999999996,
"converted": true,
"record": { "id": 7, "name": "Ko Aung", "address": "ရန်ကုန်မြို့" }
}
]

detectedEncoding is zawgyi, unicode, uncertain (left unchanged in auto mode) or none (no Burmese letters). A run summary (counts per encoding) is saved as SUMMARY in the key-value store.

Pricing

Pay per text processed. Set a spending limit and the run stops there. Up to 100,000 texts per run.

Use with AI agents

Callable from Claude, Cursor and other MCP clients through Apify's MCP server.

Accuracy

Built on Google's myanmar-tools (Apache 2.0), the Zawgyi detector and converter used by Google and Facebook. Tested against its reference corpora: all 63 lines of Myanmar government text convert exactly from Zawgyi to Unicode, all 91 lines of the Universal Declaration of Human Rights convert exactly from Unicode to Zawgyi, and the encoding of every line is detected correctly in both its Zawgyi and Unicode forms. Detection scores match Google's reference table.

Licenses

Uses myanmar-tools © Google LLC, Apache License 2.0 (included in the image under node_modules/myanmar-tools/LICENSE.md).