Turkish Address Parser
tr_address_parseSplits a free-form Turkish address into neighbourhood, street, building, floor, flat, district, province and postcode.
Handles the abbreviation chaos (Mah./Mh., Cd./Cad., Sk./Sok., No:12/5, K:3 D:7), cross-checks the province against the postcode, repairs misspelled district names against a dictionary, and returns a confidence score. Anything it could not place is listed in unparsed — nothing is dropped silently. Built for shipping, checkout and CRM systems that receive Turkish addresses typed by humans.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Free-text address. | |
| defaultProvince | No | Province to assume when the address has none. |