misaki_ja library

Japanese-specific APIs for the Misaki Dart port.

Classes

AsyncG2pEngine
A reusable engine whose backend requires asynchronous work.
BackendInfo
Stable identity information reported by an injected backend.
EnglishTokenMetadata
Metadata produced by the English pipeline.
G2pEngine
A synchronous, reusable grapheme-to-phoneme engine.
G2pResult
Exact output from one grapheme-to-phoneme conversion.
JapaneseCutletEngine
Pure Cutlet-compatible Japanese renderer with injected morphology.
JapaneseCutletMorphologyBackend
Explicit morphology boundary for the Cutlet-compatible Japanese mode.
JapaneseCutletMorphologyWord
One post-normalization morphology record consumed by Cutlet rendering.
JapaneseFrontendBackend
Explicit backend boundary for pyopenjtalk-style Japanese frontend data.
JapaneseFrontendWord
One immutable word produced by a Japanese morphological/accent frontend.
JapaneseNumberConverter
Converts Arabic-number text to Japanese and Japanese kanji to Arabic text.
JapanesePyopenjtalkEngine
Pure rendering pipeline for pyopenjtalk-style Japanese frontend words.
JapaneseTokenMetadata
Metadata produced by the pyopenjtalk-style Japanese pipeline.
KokoroEnglishG2pFrontend
Kokoro 0.9.4's token-aware English G2P frontend.
KokoroG2pChunk
One text-and-phoneme chunk ready for Kokoro model input preparation.
KokoroNonEnglishG2pFrontend
Kokoro 0.9.4's pre-G2P chunking contract for non-English languages.
MisakiBackend
Common contract for explicitly supplied language backends.
MisakiToken
Immutable token shared by all language engines.
TokenMetadata
Language-specific, typed token details.
UnknownMarkerG2pEngine
A synchronous G2P engine whose unresolved-token marker is inspectable.
VietnameseTokenMetadata
Metadata produced by the Vietnamese pipeline.

Enums

JapaneseNumberFormat
Output representation used by JapaneseNumberConverter.convert.
JapanesePhonemeMode
Selects one of pinned Misaki's distinct Japanese phoneme contracts.

Constants

defaultUnknownMarker → const String
Default replacement for text that a selected engine cannot phonemize.
misakiUpstreamCommit → const String
The authoritative upstream revision for fixtures and copied data.
misakiUpstreamRepository → const String
The upstream project whose observable behavior this package ports.
misakiUpstreamVersion → const String
The Python package version at misakiUpstreamCommit.

Functions

japanesePhonemeInventory(JapanesePhonemeMode mode) Set<String>
Returns the frozen built-in phonetic-scalar inventory for mode.

Exceptions / Errors

BackendFailureException
A configured backend failed while processing input.
BackendUnavailableException
A required explicitly configured backend is not available.
InvalidConfigurationException
The selected options do not form a supported configuration.
MalformedDataException
Generated or copied runtime data failed validation.
MisakiException
Base class for failures exposed by Misaki Dart APIs.