Skip to main content

A parser for Myanmar addresses

Project description

Project Title

Myanmar Address Parsing

Project Description

This project parses the given address into different components (state, district, township, ward, village) to search in the Mimu database. The address will be parsed to identify the hierarchical address levels, starting with the highest level (state) and moving down to the lowest level (village or ward). This ensures that the address is accurately parsed even if certain components are ambiguous or missing.

Tasks

  1. Extracting hierarchical components from the address input, such as state, district, township, ward, and village.
  2. Handling different types of address formats including those with missing or incomplete components.
  3. Parsing address in multiple languages (Myanmar and English), ensuring compatibility with both.
  4. Standardizing parsed data to be consistent with the Mimu database structure, facilitating easier search and geolocation retrieval.

Installation

Install from PyPI:

pip install mm_address_parser

Usage

from mm_address_parser.parser import Parser
parser = Parser()
parsed = parser.parse("ရန်ကုန်တိုင်းဒေသကြီး, လှိုင်မြို့နယ်, သီလဝါလမ်း")
print(parsed)

Credits and Licensing

  • Project Lead: Myo Thida
  • Institution/Affiliation: MMDT
  • Data Source: Myanmar Information Management Unit (MIMU), veresion 9.6 resleased in Feb 2025

This project and its outputs are released under the MIT License.
You are free to use, modify, and distribute the code and dataset with proper attribution.

© 2025 Myo Thida. All rights reserved.
If you use this project in your work, please cite or link back to this repository and the parent project:
"From Words to Coordinates: Mapping Myanmar's Unstructured Addresses to Coordinates."

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mm_address_parser-0.1.4.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mm_address_parser-0.1.4-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file mm_address_parser-0.1.4.tar.gz.

File metadata

  • Download URL: mm_address_parser-0.1.4.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for mm_address_parser-0.1.4.tar.gz
Algorithm Hash digest
SHA256 14afd316e09dea837c7b5591d39795c2b7abc310989b477857eb3cdfd4c71ffb
MD5 68bc767af6a2100850ee2badc5a6efa8
BLAKE2b-256 f473688cf8fc2648c73b3221ae65838d0cf6a33a17ff4eab2ffdd5a2978bcaa0

See more details on using hashes here.

File details

Details for the file mm_address_parser-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for mm_address_parser-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8c4da10c9269bbd32788031405c4a7e968b8104c7f20397c7d20ce2294cd0908
MD5 3e95129dd2c157e442769304f8be34c6
BLAKE2b-256 cde103d0190e27d75d916d93e3429b35ed7f0a85cad39fee0b872a39c3b0d65d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page