Python bindings for the MOMO Japanese text-to-Braille engine (Rust backend)
Project description
momors-py
日本語テキスト→点字変換エンジン MOMO の Python バインディング(Rust製)です。
インストール
pip install momors-py
使い方
from momors_py import Predictor, BrailleTranslator
predictor = Predictor.from_bundled()
result = predictor.predict("吾輩は猫である")
print(result.kana) # ワガハイワ ネコデ アル
translator = BrailleTranslator()
braille = translator.translate(result.kana)
print(braille.braille)
Predictor は同梱の学習済みモデルからカナ変換を行い、BrailleTranslator はカナ(または英文)を点字に変換します。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
momors_py-0.8.13.tar.gz
(36.2 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file momors_py-0.8.13.tar.gz.
File metadata
- Download URL: momors_py-0.8.13.tar.gz
- Upload date:
- Size: 36.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3701fd0db020e15697a734ee5c854cf7fede80ffc018e8f83e2ff494bc9ca2d
|
|
| MD5 |
3aa7dbdb3e1b7716bdf768234e1943b6
|
|
| BLAKE2b-256 |
fc97bcead8d377dadb9d567e7d6680c5bf0e42c9c10af329e039592837fa9d1f
|
File details
Details for the file momors_py-0.8.13-cp313-abi3-win_amd64.whl.
File metadata
- Download URL: momors_py-0.8.13-cp313-abi3-win_amd64.whl
- Upload date:
- Size: 36.6 MB
- Tags: CPython 3.13+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2242b7861b13b7814842f34cc212d46523b9030bd6ade4c206c0e5ccca775d24
|
|
| MD5 |
2e441d6a47f6385567d7b02060c25347
|
|
| BLAKE2b-256 |
f4c1933de3e220957816f6f439af4a4868a91ff33fff71f3f4e9dbe42ecf3e72
|