異体字正規化モジュール
「髙(はしご高)」「﨑(立つ崎)」などの異体字を、標準文字(JIS文字集合に含まれる文字)へと変換します。
導入方法
$ pip install ja-cvu-normalizer
利用例
from ja_cvu_normalizer.ja_cvu_normalizer import JaCvuNormalizer
text = "髙橋"
ja_cvu_normalizer = JaCvuNormalizer()
print(ja_cvu_normalizer.normalize(text))
# -> 高橋
謝辞
resource/ISO-2022-JP.txtは異字体変換テーブルのリポジトリから拝借させていただきました。
Metadata
Release files for ja_cvu_normalizer 0.2.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ja_cvu_normalizer-0.2.10.tar.gz | 34.3 kB | Without provenance | Details for ja_cvu_normalizer-0.2.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ja_cvu_normalizer-0.2.10-py3-none-any.whl | Python 3 | none | any | Details for ja_cvu_normalizer-0.2.10-py3-none-any.whl |
Total release size: 67.5 kB
Release files / ja_cvu_normalizer-0.2.10.tar.gz
| Download URL | ja_cvu_normalizer-0.2.10.tar.gz |
|---|---|
| Size | 34.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5aac6ca6edaa639aa672ef29fb0bad73658f9e074eb26a61dfea0fb282970437
|
|
BLAKE2b-256 checksum How to use checksums |
340f286f0b60e85e76b3f78269e93d604df01f847700dd7ba7087324aa51782c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.26
|
Release files / ja_cvu_normalizer-0.2.10-py3-none-any.whl
| Download URL | ja_cvu_normalizer-0.2.10-py3-none-any.whl |
|---|---|
| Size | 33.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26f00b6c5d9c5468430a6b7765f73cbcafec7578897d80e487b96c55127246f0
|
|
BLAKE2b-256 checksum How to use checksums |
48f36cf26589d228b02892328d4a7a74b638e957a0aecef27ca9ceb55356e02c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.26
|
Security for ja_cvu_normalizer 0.2.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.