- Notifications
You must be signed in to change notification settings - Fork0
korguchi/text2phoneme
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
日本語テキストを音素列へ変換するスクリプト
形態素解析器を使って文節単位でスペースを空けて pyopenjtalk へ入力。
あらかじめ文節単位で分けておくことで pyopenjtalk 内部の形態素解析の誤りを低減する。
- PyKNP
- GiNZA
- Juman++ V2
- pyopenjtalk (https://github.com/korguchi/pyopenjtalk)
>>> git clone https://github.com/korguchi/pyopenjtalk>>> cd pyopenjtalk>>> pip install -e .
>>> pip install -U ginza https://github.com/megagonlabs/ginza/releases/download/latest/ja_ginza_electra-latest-with-model.tar.gz>>> pip install -U "spacy[cuda<version>]"
>>> wget https://github.com/ku-nlp/jumanpp/releases/download/v2.0.0-rc3/jumanpp-2.0.0-rc3.tar.xz>>> tar xvf jumanpp-2.0.0-rc3.tar.xz>>> cd jumanpp-2.0.0-rc3 && mkdir bld>>> cd jumanpp-2.0.0-rc3/bld && cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local>>> cd jumanpp-2.0.0-rc3/bld && make install -j 4>>> pip install pyknp
About
日本語文を音素列へ変換するスクリプト
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published