|
KeenASR Framework v2.2 (c662ac9)
Keen Research
|
A single step in an alignment trace. More...
#include <KIOSTextAligner.h>
Properties | |
| KIOSAlignOp | op |
| The edit operation this item represents. | |
| NSInteger | refIndex |
| Index of the reference token participating in this operation, or NSNotFound for an insertion. | |
| NSInteger | recIndex |
| Index of the recognized token participating in this operation, or NSNotFound for a deletion. | |
| NSString * | refToken |
| Reference token at refIndex, or empty string for an insertion. | |
| NSString * | recToken |
| Recognized token at recIndex, or empty string for a deletion. | |
A single step in an alignment trace.
For an insertion, refIndex is NSNotFound and refToken is empty. For a deletion, recIndex is NSNotFound and recToken is empty. For a match or substitution, both indices and tokens are populated.
Indices refer to positions in the post-normalization token vectors — see KIOSTextAligner.referenceTokens for the reference side.