![]() |
KeenASR Unity Plugin v2.2
Unity plugin for KeenASR offline speech recognition SDK (iOS & Android)
|
Configuration for text alignment. Controls edit-distance costs and optional features like repetition detection and noise filtering. More...
Public Attributes | |
| float | insertCost = 1.0f |
| Cost for inserting an extra token (default: 1.0). | |
| float | deleteCost = 1.0f |
| Cost for deleting/skipping a reference token (default: 1.0). | |
| float | substituteCost = 1.0f |
| Cost for substituting one token for another (default: 1.0). If substituteCost > insertCost + deleteCost, aligner uses LCS-style behavior. | |
| bool | detectRepetitions = false |
| Enable detection of repeated/stuttered words (default: false). | |
| bool | filterNoiseTokens = true |
| Filter noise tokens like <SPOKEN_NOISE> from alignment (default: true). | |
Configuration for text alignment. Controls edit-distance costs and optional features like repetition detection and noise filtering.
| float KeenResearch.AlignmentConfig.deleteCost = 1.0f |
Cost for deleting/skipping a reference token (default: 1.0).
| bool KeenResearch.AlignmentConfig.detectRepetitions = false |
Enable detection of repeated/stuttered words (default: false).
| bool KeenResearch.AlignmentConfig.filterNoiseTokens = true |
Filter noise tokens like <SPOKEN_NOISE> from alignment (default: true).
| float KeenResearch.AlignmentConfig.insertCost = 1.0f |
Cost for inserting an extra token (default: 1.0).
| float KeenResearch.AlignmentConfig.substituteCost = 1.0f |
Cost for substituting one token for another (default: 1.0). If substituteCost > insertCost + deleteCost, aligner uses LCS-style behavior.