EnglishEspeakFallback class final

Deterministic pinned eSpeak fallback postprocessor.

This class does not load eSpeak-ng or discover a library. Callers provide a validated EnglishEspeakBackend explicitly and may then pass this object as EnglishG2pEngine.fallback.

Implemented types

Constructors

EnglishEspeakFallback({required EnglishEspeakBackend backend, EnglishDialect dialect = EnglishDialect.american, EnglishPhonemeVersion phonemeVersion = EnglishPhonemeVersion.legacy})
Creates a fallback for dialect and final phonemeVersion behavior.
const

Properties

backend EnglishEspeakBackend
Raw eSpeak-ng provider.
final
dialect EnglishDialect
eSpeak language and dialect-specific postprocessing selection.
final
hashCode int
The hash code for this object.
no setterinherited
info BackendInfo
Stable backend identity included in diagnostics and fixture metadata.
no setteroverride
phonemeVersion EnglishPhonemeVersion
Whether legacy flap/glottal replacements are applied.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pronounce(MisakiToken token) EnglishPronunciation?
Attempts a fallback pronunciation for token.
override
toString() String
A string representation of this object.
inherited

Operators

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