FastPII Docs
Detectors

Address (PL)

Detect Polish street addresses using city and street name dictionaries.

Purpose

Use the address detector (region pl) for Polish street addresses.

This detector uses dictionary-backed matching with Polish city and street name databases. Currently in beta with limited coverage.

Detector Name

address

Region: pl

Usage

from fastpii import FastPII, DEFAULT_PRIORITY
from fastpii.countries.pl import PolishPack

engine = FastPII(priority=DEFAULT_PRIORITY)
engine.register(PolishPack())

result = engine.detect("ul. Dluga 5, 00-950 Warszawa")

Limitations

  • Polish address detection is in beta with limited coverage
  • Street database contains 103 entries (all ASCII-transliterated)
  • City database contains 30 entries
  • Detection confidence may be lower than CZ detectors
  • Future releases will expand street and city coverage

On this page