Add France specific string processors.
Project description
# Addok plugin for France specifics
## Installation
pip install addok-france
## Configuration
- Add QUERY_PROCESSORS_PYPATHS
QUERY_PROCESSORS_PYPATHS = [
…,
"addok_france.extract_address",
"addok_france.clean_query",
]
- Add PROCESSORS_PYPATHS
PROCESSORS_PYPATHS = [
…,
"addok_france.glue_ordinal",
"addok_france.fold_ordinal",
"addok_france.flag_housenumber",
…,
]
- Replace default `match_housenumber` and `make_labels` by France dedicated ones:
SEARCH_RESULT_PROCESSORS_PYPATHS = [
'addok_france.match_housenumber',
'addok_france.make_labels',
…,
]
## Installation
pip install addok-france
## Configuration
- Add QUERY_PROCESSORS_PYPATHS
QUERY_PROCESSORS_PYPATHS = [
…,
"addok_france.extract_address",
"addok_france.clean_query",
]
- Add PROCESSORS_PYPATHS
PROCESSORS_PYPATHS = [
…,
"addok_france.glue_ordinal",
"addok_france.fold_ordinal",
"addok_france.flag_housenumber",
…,
]
- Replace default `match_housenumber` and `make_labels` by France dedicated ones:
SEARCH_RESULT_PROCESSORS_PYPATHS = [
'addok_france.match_housenumber',
'addok_france.make_labels',
…,
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
addok-france-1.0.0rc2.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for addok_france-1.0.0rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fac81bbccf26f4a25960002a9959321526268c6505745e823afc42525d6c18b |
|
MD5 | c80edb66163b3c72eb99d3825fda313e |
|
BLAKE2b-256 | 59b45e8d6fff76e1ed3f0a7ed3e0edffe7bffe1503e13ee180db757762d25f1f |