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.0rc1.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for addok_france-1.0.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 476dcaee9cac0f15b9a9c3c5b7be96b441496cb7750fa0f0482d3553c2160f31 |
|
MD5 | 8c15dbdaae906955944e6ebd950af6b8 |
|
BLAKE2b-256 | 74f19df0894953a083965c6dcf5828cb408943e2e8960f479713c352f46348b7 |