# 異体字正規化モジュール
「髙(はしご高)」「﨑(立つ崎)」などの異体字を、標準文字(JIS文字集合に含まれる文字)へと変換します。
## 導入方法
```shell
$ pip install ja-cvu-normalizer
```
## 利用例
```python
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`は[異字体変換テーブル](https://github.com/AnaKutsu/character_variants_unicode_to_jis)のリポジトリから拝借させていただきました。
Raw data
{
"_id": null,
"home_page": null,
"name": "ja_cvu_normalizer",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "Japanese, Unicode, normalizer",
"author": null,
"author_email": "ekurerice <alexandria.rindybell@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/34/0f/286f0b60e85e76b3f78269e93d604df01f847700dd7ba7087324aa51782c/ja_cvu_normalizer-0.2.10.tar.gz",
"platform": null,
"description": "# \u7570\u4f53\u5b57\u6b63\u898f\u5316\u30e2\u30b8\u30e5\u30fc\u30eb\n\u3000\u300c\u9ad9\uff08\u306f\u3057\u3054\u9ad8\uff09\u300d\u300c\ufa11\uff08\u7acb\u3064\u5d0e\uff09\u300d\u306a\u3069\u306e\u7570\u4f53\u5b57\u3092\u3001\u6a19\u6e96\u6587\u5b57\uff08JIS\u6587\u5b57\u96c6\u5408\u306b\u542b\u307e\u308c\u308b\u6587\u5b57\uff09\u3078\u3068\u5909\u63db\u3057\u307e\u3059\u3002\n\n## \u5c0e\u5165\u65b9\u6cd5\n```shell\n$ pip install ja-cvu-normalizer\n```\n\n## \u5229\u7528\u4f8b\n```python\nfrom ja_cvu_normalizer.ja_cvu_normalizer import JaCvuNormalizer\ntext = \"\u9ad9\u6a4b\"\nja_cvu_normalizer = JaCvuNormalizer()\nprint(ja_cvu_normalizer.normalize(text))\n# -> \u9ad8\u6a4b\n```\n\n## \u8b1d\u8f9e\n- `resource/ISO-2022-JP.txt`\u306f[\u7570\u5b57\u4f53\u5909\u63db\u30c6\u30fc\u30d6\u30eb](https://github.com/AnaKutsu/character_variants_unicode_to_jis)\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u62dd\u501f\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "\u7570\u4f53\u5b57\u6b63\u898f\u5316\u30e2\u30b8\u30e5\u30fc\u30eb",
"version": "0.2.10",
"project_urls": {
"Homepage": "https://github.com/ekurerice/ja_cvu_normalizer",
"Issues": "https://github.com/ekurerice/ja_cvu_normalizer/issues"
},
"split_keywords": [
"japanese",
" unicode",
" normalizer"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "48f36cf26589d228b02892328d4a7a74b638e957a0aecef27ca9ceb55356e02c",
"md5": "3391f9b0aa54fcf052dca46b648358c7",
"sha256": "26f00b6c5d9c5468430a6b7765f73cbcafec7578897d80e487b96c55127246f0"
},
"downloads": -1,
"filename": "ja_cvu_normalizer-0.2.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3391f9b0aa54fcf052dca46b648358c7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 33198,
"upload_time": "2024-10-26T15:01:51",
"upload_time_iso_8601": "2024-10-26T15:01:51.484014Z",
"url": "https://files.pythonhosted.org/packages/48/f3/6cf26589d228b02892328d4a7a74b638e957a0aecef27ca9ceb55356e02c/ja_cvu_normalizer-0.2.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "340f286f0b60e85e76b3f78269e93d604df01f847700dd7ba7087324aa51782c",
"md5": "0d6a20da9072f0352d594ba83a205f01",
"sha256": "5aac6ca6edaa639aa672ef29fb0bad73658f9e074eb26a61dfea0fb282970437"
},
"downloads": -1,
"filename": "ja_cvu_normalizer-0.2.10.tar.gz",
"has_sig": false,
"md5_digest": "0d6a20da9072f0352d594ba83a205f01",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 34323,
"upload_time": "2024-10-26T15:01:53",
"upload_time_iso_8601": "2024-10-26T15:01:53.185528Z",
"url": "https://files.pythonhosted.org/packages/34/0f/286f0b60e85e76b3f78269e93d604df01f847700dd7ba7087324aa51782c/ja_cvu_normalizer-0.2.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-26 15:01:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ekurerice",
"github_project": "ja_cvu_normalizer",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "ja_cvu_normalizer"
}