libpostal
ID libpostal
other
Open-source C library for parsing and normalizing street addresses, trained on OpenStreetMap and OpenAddresses data and usable in many countries and languages. The parser splits an address string into labeled components such as house, house number, road, unit, level, po box, suburb, city, state district, state, postcode, country region and country. Bindings exist for most higher-level languages. The supported types cover only registry datatypes that match a documented type.
- Website
- https://github.com/openvenues/libpostal
- Supported types
- 6
Supported semantic types
| ID | Name | Categories | Countries | Description |
|---|---|---|---|---|
| address | Address (physical location) PII | common, pii, geo | global | Geographic address, commonly consist of postindex, country, area, town, street and building |
| city | City PII | geo, pii, common | global | A city is a large human settlement. It can be defined as a permanent and densely settled place with administratively defined boundaries... |
| country | Country code or name | geo | global | A country is a distinct territorial body or political entity. It may be an independent sovereign state or part of a larger state,[2] as... |
| postindex | Postal code/index PII | geo, pii, common | global | Postal index/code, unique post identifier used in address |
| state | State (name or code) draft | geo | global | Name or code of a state or a similar first-level administrative division of a country. |
| street | Street PII draft | geo, pii, common | global | Name of the street, commonly used in address |
Use this record
- JSON: API v1 · legacy shape
- Improve it: edit
data/tools/other/libpostal.yamlon GitHub