Dictionary generator for jageocoder.
Project description
jageocoder-converter
This package is a CUI application for creating an address dictionary for use with the address geocoder jageocoder. It can be used when you want to create a dictionary that includes only some prefectures.
For more detailed information, please refer to the Japanese document.
Prerequisites
Requires Python 3.7 or later.
Installing
Install the package using pip install jageocoder-converter
.
Uninstalling
Remove the directory containing the database.
Then, do pip uninstall jageocoder-converter
.
Run
Show help with the following command.
python -m jageocoder_converter -h
To create a dictionary, run the following command.
python -m jageocoder_converter
During the process, it downloads the location reference information needed to create the dictionary from the web. Before downloading, you will be prompted with a link to the terms of use. Be sure to read them, and enter a capital 'Y'.
More examples
To create a dictionary, including only 東京都, without records from 住居表示住所, run the following command.
python -m jageocoder_converter --no-jusho 13
You may create a dictionary in the specified directory.
python -m jageocoder_converter --db-dir=oazadb --no-gaiku --no-jusho
If you already understand the terms of use, etc., and want to process it in the background, you can specify the quiet option. It may be useful to add a debug option to check the progress in the log file.
nohup python -m jageocoder_converter --quiet --debug &
Authors
- Takeshi SAGARA - Info-proto Co.,Ltd.
License
This project is licensed under the MIT License.
This is not the scope of the dictionary data license. Please follow the terms of use of the respective dictionary data.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jageocoder_converter-2.0.3.tar.gz
.
File metadata
- Download URL: jageocoder_converter-2.0.3.tar.gz
- Upload date:
- Size: 6.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2aa34cccd582924ef59735a7eec167bd4d96eaa2a5249651d9e38beb3e363146 |
|
MD5 | b9d88cb00006f4f93bc47024b3dd4bdb |
|
BLAKE2b-256 | f713009d48d1987467dad44f96a5eba4aead48fc1877afbeebe8026b74f2bf13 |
File details
Details for the file jageocoder_converter-2.0.3-py3-none-any.whl
.
File metadata
- Download URL: jageocoder_converter-2.0.3-py3-none-any.whl
- Upload date:
- Size: 6.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6e9f87d56bfeb9cce75f561857016883efb1e59878e10d5ddd069aac78c51bf |
|
MD5 | e2055a9ff9fc379ab72cc5c6662d34b8 |
|
BLAKE2b-256 | 1c6601394c379de538175d40d886b2bc33791166ac36aa1801416a2770ea17de |