Signal
A regex-based signal pattern used in the scoring pipeline.
Usage
Signal(
*,
pattern,
weight=1,
flags=0,
)Signals are matched against transcript text via re.search. Each match contributes weight to the cumulative score. Use negative weights to suppress false positives.
Parameter Attributes
pattern: strweight: int = 1flags: int = 0
Example
Signal(pattern=r”retry”, weight=2, flags=re.IGNORECASE)