
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Japanese text preprocessor for Text-to-Speech application (OpenJTalk rewrite in rust language).
Japanese text preprocessor for Text-to-Speech application.
This is a python binding of jpreprocess, which is written in Rust. The rust library is published in crates.io.
JPreprocess (the base code written in Rust) is a rewrite of OpenJTalk.
Unlike pyopenjtalk, this package does not include support of marine and TTS.
Currently, this package is for text processing only.
import jpreprocess
j = jpreprocess.jpreprocess()
njd_features = j.run_frontend("ζ¬ζ₯γ―ζ΄ε€©γͺγ")
assert njd_features[0].get("string") == "ζ¬ζ₯"
assert njd_features[0].get("pos") == "εθ©"
import jpreprocess
j = jpreprocess.jpreprocess()
fullcontext = j.extract_fullcontext("ζ¬ζ₯γ―ζ΄ε€©γͺγ")
assert len(fullcontext) == 21
assert fullcontext[0] == r"xx^xx-sil+h=o/A:xx+xx+xx/B:xx-xx_xx/C:xx_xx+xx/D:xx+xx_xx/E:xx_xx!xx_xx-xx/F:xx_xx#xx_xx@xx_xx|xx_xx/G:5_1%0_xx_xx/H:xx_xx/I:xx-xx@xx+xx&xx-xx|xx+xx/J:2_11/K:1+2-11"
import jpreprocess
j = jpreprocess.jpreprocess()
assert j.g2p("γγ―γγγγγγΎγ") == "o h a y o o g o z a i m a s U"
assert j.g2p("γγ―γγγγγγΎγ", kana=True) == "γͺγγ¨γΌγ΄γΆγ€γγΉ"
Please see README.md.
BSD-3-Clause
FAQs
Japanese text preprocessor for Text-to-Speech application (OpenJTalk rewrite in rust language).
We found that jpreprocess demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.