arpakana
ARPAbet音素記号を日本語のカナ文字へ変換するためのPythonライブラリです。
📖 概要
arpakana は、Carnegie Mellon University Pronouncing Dictionary形式のARPAbetを入力として、対応するカタカナ列を出力します。
💡 使用例
uv add arpakana
from arpakana import arpabet_to_kana
greeting = arpabet_to_kana("HH AH0 L OW1")
assert greeting == "ハロウ"
words = ["B", "L", "UW"]
assert arpabet_to_kana(words) == "ブルー"
fallback = arpabet_to_kana("XYZ", unknown="*")
assert fallback == "*"
# 語境界の音素を連結した場合は、境界同化で生じた摩擦音の
# 不要な促音化を抑制できます。
connected = arpabet_to_kana(
"D IH1 JH UW1",
geminate_intervocalic=False,
)
assert connected == "ディジュー"
📄 ライセンス
このプロジェクトはMITライセンスの下で提供されています。詳細は LICENSE を参照してください。
Metadata
Release files for arpakana 0.0.4
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 |
|---|---|---|---|---|
| arpakana-0.0.4.tar.gz | 261.8 kB | Without provenance | Details for arpakana-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arpakana-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for arpakana-0.0.4-py3-none-any.whl |
Total release size: 270.2 kB
Release files / arpakana-0.0.4.tar.gz
| Download URL | arpakana-0.0.4.tar.gz |
|---|---|
| Size | 261.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86d396231b9c75c5651ccbd61145920411080e5971f2d41241a38712c7a75793
|
|
BLAKE2b-256 checksum How to use checksums |
1e599a17b4753ccf66f574f5699b9c6926cbd1a3030cc91a0c4359d57506b553
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.16 {"installer":{"name":"uv","version":"0.12.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / arpakana-0.0.4-py3-none-any.whl
| Download URL | arpakana-0.0.4-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f470cdde26d542dd259d6f40a65655a4eab2b30f6ae2ffde7a53fc011a8cc97
|
|
BLAKE2b-256 checksum How to use checksums |
a9b32fb7786820e7d3864a98ea8491d8072774ed13847e71c2c99f621e0e9a36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.16 {"installer":{"name":"uv","version":"0.12.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for arpakana 0.0.4
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.