VietnameseOptions class final

Immutable Vietnamese engine options.

Constructors

VietnameseOptions({VietnameseDialect dialect = VietnameseDialect.north, bool glottal = false, bool pham = false, bool cao = false, bool palatals = false, bool substringTokenization = true, VietnameseToneType toneType = VietnameseToneType.pham, bool cleanAbbreviations = true, bool cleanAcronyms = true})
Creates Vietnamese options matching pinned VIG2P defaults, except that English fallback is supplied explicitly to the engine rather than constructed or downloaded.
const

Properties

cao bool
Explicit upstream cao flag, before toneType forces its mode.
final
cleanAbbreviations bool
Whether the cleaner expands abbreviation/teencode mappings.
final
cleanAcronyms bool
Whether the cleaner expands acronym mappings.
final
dialect VietnameseDialect
Dialect-specific coda and vowel behavior.
final
effectiveCao bool
Effective Cao flag after pinned constructor forcing.
no setter
effectivePham bool
Effective Phạm flag after pinned constructor forcing.
no setter
glottal bool
Whether vowel-initial syllables receive upstream's glottal behavior.
final
hashCode int
The hash code for this object.
no setterinherited
palatals bool
Whether northern front-vowel velar codas become palatal.
final
pham bool
Explicit upstream pham flag, before toneType forces its mode.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
substringTokenization bool
Whether unrecognized tokens are split into pronounceable substrings.
final
toneType VietnameseToneType
Tone digit mode.
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