JapanesePyopenjtalkEngine class final

Pure rendering pipeline for pyopenjtalk-style Japanese frontend words.

This engine does not load or discover pyopenjtalk. Callers must explicitly inject a JapaneseFrontendBackend that supplies compatible word data.

Implemented types

Constructors

JapanesePyopenjtalkEngine({required JapaneseFrontendBackend backend, String unknownMarker = defaultUnknownMarker})
Creates a Japanese pipeline backed by backend.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unknownMarker String
Marker rendered for frontend words without phonemes.
final

Methods

convert(String text) G2pResult
Converts text with the injected frontend.
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

Static Methods

pronunciationToMoras(String pronunciation) List<String>
Splits a frontend pronunciation into the pinned inventory's moras.