KoreanG2pkcEngine class final

Pure deterministic Korean g2pkc pipeline with injected external data.

This implements pinned KOG2P, including its use_dict=True morphology path and tokens == null result contract. The package does not bundle or discover MeCab, a Korean morphology dictionary, NLTK, or CMUdict.

Implemented types

Constructors

KoreanG2pkcEngine({required KoreanMorphologyBackend morphology, required KoreanCmuPronunciationProvider cmuPronunciations})
Creates a Korean engine using explicit morphology and CMUdict providers.
const

Properties

cmuPronunciations KoreanCmuPronunciationProvider
First-pronunciation CMUdict lookup provider for embedded English.
final
hashCode int
The hash code for this object.
no setterinherited
morphology KoreanMorphologyBackend
Korean morphology/POS provider.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

convert(String text) G2pResult
Converts text into exact phoneme output and optional token details.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited