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.0rc3.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file addok-france-1.0.0rc3.tar.gz
.
File metadata
- Download URL: addok-france-1.0.0rc3.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51b631f71cd83ffae1f837af03e9b99a9f9725a53d5a4bef83e444d10f89d758 |
|
MD5 | 692093d01803f8211a168d4331dc08a4 |
|
BLAKE2b-256 | 2c23703720edc274a364d8418bf16446bd460e4d2dae1e094d77addbf26758d9 |
File details
Details for the file addok_france-1.0.0rc3-py3-none-any.whl
.
File metadata
- Download URL: addok_france-1.0.0rc3-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7df32a29f0d469955bd064ce11885bfa9df928f2956a8a1128c30b23141762f |
|
MD5 | 1c288e2a4ebb6a7d63445e8977caecad |
|
BLAKE2b-256 | 711966ab33847acae0d337021117a1328164a67524acaa8e461b27c21774b79c |