JapaneseFrontendWord class final
One immutable word produced by a Japanese morphological/accent frontend.
This is the narrow data boundary consumed by JapaneseFrontendBackend. A real adapter may translate pyopenjtalk dictionaries into this type, but the pure-Dart package does not discover or provide a native adapter.
Constructors
Properties
- accent → int
-
Accent nucleus reported by the frontend.
final
- chainFlag → bool
-
Whether the frontend's raw chain flag selects the preceding phrase.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- moraSize → int
-
Frontend-reported mora count.
final
- partOfSpeech → String
-
Part-of-speech label reported by the frontend.
final
- pronunciation → String
-
Katakana pronunciation reported by the frontend.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surface → String
-
Surface text reported by the frontend.
final
Methods
-
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