KeenASR Unity Plugin v2.2
Unity plugin for KeenASR offline speech recognition SDK (iOS & Android)
Loading...
Searching...
No Matches
KeenResearch.AlignmentItem Class Reference

A single step in the alignment trace, representing one edit operation. More...

Public Attributes

int op
 The edit operation type.
 
int refIndex
 Index into reference tokens (-1 for insertion).
 
int recIndex
 Index into recognized tokens (-1 for deletion).
 
string refToken
 Reference token at this position (empty for insertion).
 
string recToken
 Recognized token at this position (empty for deletion).
 

Properties

AlignOp operation [get]
 The edit operation type as enum.
 

Detailed Description

A single step in the alignment trace, representing one edit operation.

Member Data Documentation

◆ op

int KeenResearch.AlignmentItem.op

The edit operation type.

◆ recIndex

int KeenResearch.AlignmentItem.recIndex

Index into recognized tokens (-1 for deletion).

◆ recToken

string KeenResearch.AlignmentItem.recToken

Recognized token at this position (empty for deletion).

◆ refIndex

int KeenResearch.AlignmentItem.refIndex

Index into reference tokens (-1 for insertion).

◆ refToken

string KeenResearch.AlignmentItem.refToken

Reference token at this position (empty for insertion).

Property Documentation

◆ operation

AlignOp KeenResearch.AlignmentItem.operation
get

The edit operation type as enum.