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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

kanji_to_number-0.2.0-py2-none-any.whl (2.3 kB view details)

Uploaded Python 2

File details

Details for the file kanji_to_number-0.2.0-py2-none-any.whl.

File metadata

File hashes

Hashes for kanji_to_number-0.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 daacf5f1aea964c72cc851138c21b19c62a75e501c86ec862cdb59c5770cc8be
MD5 5e98d90372b83e560c0c5cbd4ca7eb00
BLAKE2b-256 1bb3976ebfa8eb40bb3fe03a292f5cb2293053cfbbd2fca113679c3fda34518b

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