furigana
Generate furigana(振り仮名) from Japanese
It uses MeCab (a Natural Language Toolkit) to split Japanese into words, and superscript it with furigana (振り仮名).
Example:
input
print_plaintext('澱んだ街角で僕らは出会った')
output
澱(よど)んだ街角(まちかど)で僕(ぼく)らは出(で)会(あ)った
input
print_html('お茶にお煎餅、よく合いますね')
output
お茶(ちゃ)にお煎餅(せんべい)、よく合(あ)いますね
Usage
$ python3 furigana.py '活版印刷の流れを汲む出版作業では'
Dependency
See https://pypi.python.org/pypi/mecab-python3/0.7 run below commands on ubuntu
sudo apt-get install libmecab-dev sudo apt-get install mecab mecab-ipadic-utf8 pip install mecab-python3
Metadata
Release files for furigana 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 |
|---|---|---|---|---|
| furigana-0.0.4.tar.gz | 3.5 kB | Without provenance | Details for furigana-0.0.4.tar.gz |
Release files / furigana-0.0.4.tar.gz
| Download URL | furigana-0.0.4.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c428572328f4b61eb8e98312d5ff0730c1e201e5da3ae8b677b615d5da87ef9a
|
|
BLAKE2b-256 checksum How to use checksums |
e0d9421ee8884e234f35503cdb0ef8338d9ec526356df51d3e565dbe2c7dad03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for furigana 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.