misaki_en library

English APIs for the pure, backend-injected Misaki Dart pipeline.

This entrypoint exposes the offline pinned lexicon provider. It does not bundle a tokenizer/tagger, spaCy, eSpeak, or a model fallback; applications must still supply those optional backend boundaries explicitly.

Classes

AsyncG2pEngine
A reusable engine whose backend requires asynchronous work.
BackendInfo
Stable identity information reported by an injected backend.
EnglishEspeakBackend
Raw eSpeak-ng capability required by EnglishEspeakFallback.
EnglishEspeakFallback
Deterministic pinned eSpeak fallback postprocessor.
EnglishFallbackBackend
Optional context-free fallback pronunciation boundary.
EnglishG2pEngine
English G2P orchestration with explicitly injected language backends.
EnglishInlineControl
Base type for an inline English pronunciation or normalization control.
EnglishInlinePreprocessor
Pure parser for Misaki's English inline controls.
EnglishNumberFlagsControl
A hash-delimited number-normalization flag control.
EnglishPreprocessResult
Immutable output of EnglishInlinePreprocessor.preprocess.
EnglishPronunciation
Immutable pronunciation returned by an injected English provider.
EnglishPronunciationBackend
Context-aware English lexicon or pronunciation-rule boundary.
EnglishPronunciationControl
A slash-delimited custom pronunciation control.
EnglishStressControl
A signed integral or half-step stress control.
EnglishTokenContext
Right-to-left context used by the pinned English lexicon.
EnglishTokenizerBackend
Explicit tokenizer and part-of-speech tagger boundary for English.
EnglishTokenMetadata
Metadata produced by the English pipeline.
G2pEngine
A synchronous, reusable grapheme-to-phoneme engine.
G2pResult
Exact output from one grapheme-to-phoneme conversion.
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.
PinnedEnglishLexicon
Offline pronunciation provider for the pinned Misaki English lexicons.
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

EnglishDialect
English pronunciation dialect selected for dialect-sensitive suffixes.
EnglishPhonemeVersion
English phoneme inventory behavior selected for final rendering.

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

englishPhonemeInventory({required EnglishDialect dialect, EnglishPhonemeVersion version = EnglishPhonemeVersion.legacy}) Set<String>
Returns the frozen built-in English phoneme inventory for one 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.