japanese-address-parser
A Rust library for parsing Japanese addresses.
Usage
Add the following to your Cargo.toml
.
[]
= "0.2"
Async Version
use Parser;
async
Blocking Version
use Parser;
Wasm support
This crate is designed to be buildable for wasm32-unknown-unknown
with wasm-pack
.
Pre-compiled wasm module is available on npmjs.com
You can run this crate on your browser. For more details, see wasm module's README.
Python support(experimental)
This library can be called from the Python world. For more details, see python module's README.
Road to v1
The goals of this library are as follows.
- Supports not only wasm but also multiple platforms and architectures.
- Enables more advanced normalization. For example, provides more detailed analysis than town level.
- Returns the location of the given address.
- Enables processing of town names that no longer exist due to municipal mergers.
Support
This software is maintained by YuukiToriyama. If you have any questions, please create a new issue.
Acknowledgements
This software was inspired
by @geolonia/normalize-japanese-addresses.
In addition, the parsing process uses Geolonia 住所データ which is
provided by 株式会社Geolonia.
License
This crate is distributed under the terms of the MIT license.