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 details)
Built Distribution
File details
Details for the file addok-france-1.0.0rc1.tar.gz
.
File metadata
- Download URL: addok-france-1.0.0rc1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b57b7fd90fadff0ae7cd4eaed1ea1a373cb5c48655e253773bbd768b735d87 |
|
MD5 | 21b16dcb3ca1b03ad04684b6bac5f63f |
|
BLAKE2b-256 | 644f7bc82eb8674d62247155f0b9664014c9acaa37603514e22a741a06606871 |
File details
Details for the file addok_france-1.0.0rc1-py3-none-any.whl
.
File metadata
- Download URL: addok_france-1.0.0rc1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 476dcaee9cac0f15b9a9c3c5b7be96b441496cb7750fa0f0482d3553c2160f31 |
|
MD5 | 8c15dbdaae906955944e6ebd950af6b8 |
|
BLAKE2b-256 | 74f19df0894953a083965c6dcf5828cb408943e2e8960f479713c352f46348b7 |