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 details)
Built Distribution
File details
Details for the file addok-france-1.0.0rc2.tar.gz
.
File metadata
- Download URL: addok-france-1.0.0rc2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bda814c839081a73745310fc7b33c281855a926a4e9b0eb14a8bd5035647f2b2 |
|
MD5 | 2484728795f5fcc179fa69ac65fb95f9 |
|
BLAKE2b-256 | 3aa82df297507f5b7ef85c0f879650e16303adc6084f10c143a2164492be81ff |
File details
Details for the file addok_france-1.0.0rc2-py3-none-any.whl
.
File metadata
- Download URL: addok_france-1.0.0rc2-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fac81bbccf26f4a25960002a9959321526268c6505745e823afc42525d6c18b |
|
MD5 | c80edb66163b3c72eb99d3825fda313e |
|
BLAKE2b-256 | 59b45e8d6fff76e1ed3f0a7ed3e0edffe7bffe1503e13ee180db757762d25f1f |