AdresTR.Data
0.1.0-preview.2
dotnet add package AdresTR.Data --version 0.1.0-preview.2
NuGet\Install-Package AdresTR.Data -Version 0.1.0-preview.2
<PackageReference Include="AdresTR.Data" Version="0.1.0-preview.2" />
<PackageVersion Include="AdresTR.Data" Version="0.1.0-preview.2" />
<PackageReference Include="AdresTR.Data" />
paket add AdresTR.Data --version 0.1.0-preview.2
#r "nuget: AdresTR.Data, 0.1.0-preview.2"
#:package AdresTR.Data@0.1.0-preview.2
#addin nuget:?package=AdresTR.Data&version=0.1.0-preview.2&prerelease
#tool nuget:?package=AdresTR.Data&version=0.1.0-preview.2&prerelease
AdresTR
Turkish free-text address parser, normalizer and validator for .NET. Türkçe serbest metin adresleri ayrıştırır, normalize eder ve resmi il/ilçe/mahalle hiyerarşisine göre doğrular.
using AdresTR;
using AdresTR.Data; // package AdresTR.Data: bundled gazetteer + shared parser
ParseResult r = TurkishGazetteer.Parser.Parse("kadikoy caferaga mh moda cd no:12 d3 istanbul");
r.Unit; // Caferağa (mahalle) — null when the text is ambiguous
r.District; // Kadıköy
r.DoorNumber; r.Flat; // "12", "3"
r.Confidence; // calibrated probability that the parse is correct
r.Corrections; // Diacritics: kadikoy → Kadıköy, …
r.ToCanonicalString(); // "Caferağa Mah. Moda Cad. No:12 D:3 34710 Kadıköy/İstanbul"
- Parses il, ilçe, mahalle/köy, semt, street (type + name), site, blok, door, floor, flat, postal code, landmark.
- Resolves to official names and stable ids; understands semt names, pre-2014 village names, abbreviations, glued words, typos and ASCII-only input. Never guesses an ambiguous neighbourhood.
- Offline, deterministic, no ICU dependency (works in containers, Native AOT and Blazor WebAssembly).
| Test set | AdresTR exact match | libpostal |
|---|---|---|
| Synthetic, noisy (2,000) | 97.4% | 10.0% |
| Real public-institution addresses (1,200) | 95.8% | 26.2% |
| Hand-written hard cases (167) | 86.8% | 24.6% |
Packages: AdresTR (parser, text utilities, gazetteer model) · AdresTR.Data (bundled 2026.10 gazetteer: 81 il,
973 ilçe, 78,790 units with postal codes; depends on AdresTR).
Documentation, benchmark and data licenses: https://github.com/AlperCna/AdresTR · Benchmark · Data sources · Changelog
AdresTR stores and sends nothing: all processing is local. Code: MIT. Data: see LICENSE-DATA.md in the package.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- AdresTR (>= 0.1.0-preview.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.2 | 35 | 10/8/2026 |
| 0.1.0-preview.1 | 37 | 10/8/2026 |