Registry / ai-ml / ko-speech-tools

ko-speech-tools

JSON →
library0.1.0pypypi✓ verified 80d ago

Korean speech and NLP tools for tokenization, romanization, and pronunciation analysis. Version 0.1.0, early development with monthly release cadence.

pip install ko-speech-tools
INSTALL
IMPORT
SIG · KO-SPEECH-TOOLS
K
ko-speech-tools
ai-mlpythonv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

G2p
from ko_speech_tools import G2p
from ko_speech_tools import KoSpeechTokenizer
romanize
from ko_speech_tools import romanize
g2p
from ko_speech_tools import g2p

Basic usage: tokenize, romanize, and get pronunciation of Korean text.

from ko_speech_tools import KoSpeechTokenizer, romanize, pronounce text = "안녕하세요" tokenizer = KoSpeechTokenizer() tokens = tokenizer.tokenize(text) print("Tokens:", tokens) romanized = romanize(text) print("Romanized:", romanized) pron = pronounce(text) print("Pronunciation:", pron)
Debug
Known issues
gotchaThe library is in early alpha (0.1.0); expect breaking changes in minor versions. Pin to exact version in production.
fix
Use ko-speech-tools==0.1.0 in requirements.txt.
affects: <=0.1.0
gotchaRomanization does not handle all ambiguous Korean syllables (e.g., homographs) correctly. Always verify output for sensitive applications.
fix
Use an additional disambiguation step or a more mature romanizer for critical tasks.
affects: *
deprecatedThe function 'tokenize_syllables' is renamed to 'syllable_tokenize' in v0.2.0 (upcoming).
fix
Use 'KoSpeechTokenizer.syllable_tokenize()' instead of 'tokenize_syllables()'.
affects: <=0.1.0
Upgrade
Version history
0.1.0latest on PyPI · released Oct 3, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
ko-speech-tools — pip install ko-speech-tools · libregistry