Skip to main content

Convert kansuji to number

Project description

概要

漢数字を数字に変換するツールです。
形態素解析を使用しておらず、名前などに含まれる漢数字を強制的に変換してしまうため、使用する際は注意してください。

セットアップ

pip install kanji-to-number

アンインストール

pip uninstall kanji-to-number

使い方

from kanji_to_number import kanji_to_number_in_text

data = kanji_to_number_in_text("一億人、第百十五条、二百零号室")

print(data) # 100000000人、第115条、200号室 

ライセンス

  • kanji_to_number
    • Python Software Foundation License
    • Copyright (C) 2025 Shinya Akagi

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

kanji_to_number-0.2.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kanji_to_number-0.2.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file kanji_to_number-0.2.1.tar.gz.

File metadata

  • Download URL: kanji_to_number-0.2.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.15

File hashes

Hashes for kanji_to_number-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b9e3833a2916e38f9b8e9b16207b85539436d7186e8637a81607b4f09a0bbaab
MD5 baaab2952c47c1b835b6ff0ffc173dfc
BLAKE2b-256 09bbd49b24af3fd41245e9126ca4fde9bc92d028044d47a309c42fcdb300fd12

See more details on using hashes here.

File details

Details for the file kanji_to_number-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for kanji_to_number-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 04855d559bb8b63e83d6caa69ba4d5b34770f7683df8749c596d1f08e538161b
MD5 f7b511383429f47ce9a0fca7277846a2
BLAKE2b-256 9a4201c7c0a6ed883d0247c8ef268752b0b94c10cdb35c1091d7350448492bc0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page