Skip to main content

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.

Source: https://github.com/Tinku746286/indic_names_library

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

indic_places-1.1.6.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

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

indic_places-1.1.6-py3-none-any.whl (5.6 MB view details)

Uploaded Python 3

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

Hashes for indic_places-1.1.6.tar.gz
Algorithm Hash digest
SHA256 fac19bede18fe133fda35683c5bdd119cfdf66f2e132df46e308ebb3fe5ff0be
MD5 766c754946d2c35d2dce38a50ad9346e
BLAKE2b-256 3c3b5e33c79767e0d4499ff482c3d23526cdf9256d1f2667574078fc9388cb4c

See more details on using hashes here.

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

Hashes for indic_places-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d21622c4855f7c6f7be0b150db1e153a1f974bfb95a08bb5c6e0db4b5658b76d
MD5 2160aac68ca90efbe246f9b10459d0d7
BLAKE2b-256 1b8b72152599f1dbc86f64ecf9d2e66baf52682ffaa3f7f7a0d1dd80a1256dba

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