Detectors
Address (FR)
Detect French street addresses using city and street name dictionaries.
Purpose
Use the address detector (region fr) for French street addresses.
This detector uses dictionary-backed matching with French city and street name databases. Currently in beta with limited coverage.
Detector Name
addressRegion: fr
Usage
from fastpii import FastPII, DEFAULT_PRIORITY
from fastpii.countries.fr import FrenchPack
engine = FastPII(priority=DEFAULT_PRIORITY)
engine.register(FrenchPack())
result = engine.detect("5 Rue Kleber, 75001 Paris")Limitations
- French address detection is in beta with limited coverage
- Street database contains 104 entries (all ASCII-transliterated, no accents)
- City database contains 79 entries
- Detection confidence may be lower than CZ detectors
- Future releases will expand street and city coverage