TrackerConfig class

Unified immutable configuration for recitation tracking and Tajweed evaluation.

Annotations

Constructors

TrackerConfig({RecitationSpeed recitationSpeed = RecitationSpeed.normal, MatchingStrictness matchingStrictness = MatchingStrictness.normal, bool enableEarlyMatching = true, bool enableAutoReanchor = false, int reanchorStallThreshold = 24})
const
TrackerConfig.easy({RecitationSpeed speed = RecitationSpeed.fast, bool enableEarlyMatching = true, bool enableAutoReanchor = false, int reanchorStallThreshold = 20})
Easy mode for beginners, children, or noisy microphones.
factory
TrackerConfig.normal({RecitationSpeed speed = RecitationSpeed.normal, bool enableEarlyMatching = true, bool enableAutoReanchor = false, int reanchorStallThreshold = 24})
Standard baseline configuration (Tadweer pacing + Balanced matching).
factory
TrackerConfig.strict({RecitationSpeed speed = RecitationSpeed.slow, bool enableEarlyMatching = false, bool enableAutoReanchor = false, int reanchorStallThreshold = 30})
Strict mode for advanced reciters, exams, or Tajweed certification.
factory

Properties

acousticConfusionCost → double
no setter
defaultMaxPathCost → double
no setter
enableAutoReanchor → bool
Whether to automatically re-anchor and recover tracking when the reciter skips ahead in Dictation mode.
final
enableEarlyMatching → bool
Whether to commit words early before reciter finishes trailing vowels/letters in Dictation mode.
final
hashCode → int
The hash code for this object.
no setterinherited
hideExpectedAsrNoise → bool
no setter
matchingStrictness → MatchingStrictness
Word matching hardness / strictness (مرن، معياري، دقيق).
final
maxSkipWords → int
no setter
maxTokenDurationAllowed → double
no setter
mediumWordPathCost → double
no setter
reanchorStallThreshold → int
Minimum unconsumed phonetic tokens required to declare a tracking stall (default: 24).
final
recitationSpeed → RecitationSpeed
Recitation speed / pacing (مراتب التلاوة: الحدر، التدوير، التحقيق).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shortWordPathCost → double
no setter
standardDeletionCost → double
no setter
standardInsertionCost → double
no setter

Methods

copyWith({RecitationSpeed? recitationSpeed, MatchingStrictness? matchingStrictness, bool? enableEarlyMatching, bool? enableAutoReanchor, int? reanchorStallThreshold}) → TrackerConfig
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