Indian place-name lookup, OCR address cleanup, and merged-word address segmentation
Project description
Indic Places Library
A Python library for Indian place-name lookup, fuzzy matching, OCR address cleanup, and merged-word address segmentation.
It helps normalize Indian OCR addresses by identifying place names, address terms, districts, states, towns, villages, and postal-place aliases.
Install
pip install --upgrade indic-places
Usage
from indic_places import IndicPlaces
ip = IndicPlaces()
address = "PILASSERYADIVARAMPUTHUPPADIADIVARAM PUDUPADIKATTIPARAADIVARAM THAMARASSERYKOZHIKODE - 673586"
print(ip.normalize_address_spacing(address))
Output:
PILASSERY ADIVARAM PUTHUPPADI ADIVARAM PUDUPADI KATTIPARA ADIVARAM THAMARASSERY KOZHIKODE - 673586
Data
- 817,641 unique Indian place names
- 652,331 runtime OCR/custom place aliases
- India-wide GeoNames and postal vocabulary
Attribution
This package includes data derived from GeoNames, licensed under CC BY 4.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file indic_places-1.1.6.tar.gz.
File metadata
- Download URL: indic_places-1.1.6.tar.gz
- Upload date:
- Size: 5.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fac19bede18fe133fda35683c5bdd119cfdf66f2e132df46e308ebb3fe5ff0be
|
|
| MD5 |
766c754946d2c35d2dce38a50ad9346e
|
|
| BLAKE2b-256 |
3c3b5e33c79767e0d4499ff482c3d23526cdf9256d1f2667574078fc9388cb4c
|
File details
Details for the file indic_places-1.1.6-py3-none-any.whl.
File metadata
- Download URL: indic_places-1.1.6-py3-none-any.whl
- Upload date:
- Size: 5.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d21622c4855f7c6f7be0b150db1e153a1f974bfb95a08bb5c6e0db4b5658b76d
|
|
| MD5 |
2160aac68ca90efbe246f9b10459d0d7
|
|
| BLAKE2b-256 |
1b8b72152599f1dbc86f64ecf9d2e66baf52682ffaa3f7f7a0d1dd80a1256dba
|