KIOSWord Class Reference

Inherits from NSObject
Declared in KIOSRecognizer.h
KIOSRecognizer.mm

Overview

An instance of the KIOSWord class, called word, provides word text, timing information, and the confidence of the word

Note that in certain circumstances startTime, duration, and confidence may be nil.

  text

Text of the word

@property (nonatomic, readonly, nonnull) NSString *text

Declared In

KIOSRecognizer.h

  startTime

Start time, in seconds, for this word

@property (nonatomic, strong, nullable, readonly) NSNumber *startTime

Declared In

KIOSRecognizer.h

  duration

Duration of the word, in seconds

@property (nonatomic, strong, nullable, readonly) NSNumber *duration

Declared In

KIOSRecognizer.h

  confidence

Confidence in the range 0 to 1 for the word. Higher value corresponds to better confidence that the recognized text matches what was said.

@property (nonatomic, strong, nullable, readonly) NSNumber *confidence

Declared In

KIOSRecognizer.h

  tag

False for real words, TRUE for tags, e.g. <SPOKEN_NOISE>,

@property (nonatomic, assign, readonly, getter=isTag) BOOL tag

Declared In

KIOSRecognizer.h