TrackerConfig class

Unified immutable configuration for recitation tracking, thresholds, and Tajweed.

Annotations

Constructors

TrackerConfig({double defaultMaxPathCost = 0.30, double shortWordPathCost = 0.25, double mediumWordPathCost = 0.28, int maxSkipWords = 2, double acousticConfusionCost = 0.25, double standardInsertionCost = 0.75, double standardDeletionCost = 1.0, double harakatDurationSeconds = 0.200, double maxTokenDurationAllowed = 2.5, double lookaheadDelay = 0.320, bool hideExpectedAsrNoise = true})
const
TrackerConfig.easy()
Easy mode for beginners, children, or noisy microphones.
factory
TrackerConfig.normal()
Standard baseline configuration (identical to original engine calibration).
factory
TrackerConfig.strict()
Strict mode for advanced reciters, exams, or Tajweed certification.
factory

Properties

acousticConfusionCost double
final
costDel double
no setter
costIns double
no setter
defaultMaxPathCost double
final
harakatDurationSeconds double
final
hashCode int
The hash code for this object.
no setterinherited
hideExpectedAsrNoise bool
final
lookaheadDelay double
final
maxPathCost double
no setter
maxSkipWords int
final
maxTokenDurationAllowed double
final
mediumWordPathCost double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortWordPathCost double
final
standardDeletionCost double
final
standardInsertionCost double
final

Methods

copyWith({double? defaultMaxPathCost, double? shortWordPathCost, double? mediumWordPathCost, int? maxSkipWords, double? acousticConfusionCost, double? standardInsertionCost, double? standardDeletionCost, double? harakatDurationSeconds, double? maxTokenDurationAllowed, double? lookaheadDelay, bool? hideExpectedAsrNoise}) TrackerConfig
Creates a copy of this config with replaced fields.
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