MatchingStrictness enum
Controls ASR speech matching acceptance sensitivity and edit penalties.
Values
- easy → const MatchingStrictness
-
Lenient mode: for children, beginners, noisy environments, or built-in mics.
- normal → const MatchingStrictness
-
Balanced mode: for standard everyday practice (Default).
- hard → const MatchingStrictness
-
Strict mode: for advanced reciters, memorization tests, and certifications.
Properties
- acousticConfusionCost → double
-
Cost for acoustic confusion pairs (e.g. ص vs س).
no setter
- defaultMaxPathCost → double
-
Base acceptance error threshold.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hideExpectedAsrNoise → bool
-
Whether to filter out minor acoustic slips from the explanation dialog.
no setter
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- maxSkipWords → int
-
Maximum lookahead word skips for detecting omissions.
no setter
- maxTokenDurationAllowed → double
-
Maximum acoustic ceiling for a single token in seconds.
no setter
- mediumWordPathCost → double
-
Strict threshold for medium words (<= 7 chars).
no setter
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortWordPathCost → double
-
Strict threshold for short words (<= 3 chars).
no setter
- standardDeletionCost → double
-
Penalty for missing reference phonemes.
no setter
- standardInsertionCost → double
-
Penalty for extra inserted ASR phonemes.
no setter
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
Static Methods
-
fromName(
String? name) → MatchingStrictness - Resolves strictness from string identifier (with fallback to normal).
Constants
-
values
→ const List<
MatchingStrictness> - A constant List of the values in this enum, in order of their declaration.