YSKRecognitionWord class

#import <YSKRecognitionWord.h>

Word or phrase that is an element of a hypothesis (YSKRecognitionHypothesis).

This is the minimal object that a confidence score is shown for. This score can be used to determine poorly recognized fragments.

Instance methods

Properties

confidence

The confidence score is a fractional number between 0 and 1 estimating the measure of confidence in the recognition result (1 indicates the highest level of confidence).

text

Method descriptions

-description

- (NSString *) description

-initWithText:confidence:

- (instancetype) initWithText:(NSString *) text
confidence:(float) confidence

Property descriptions

confidence

(assign, readonly) float confidence

Recognition confidence score.

The confidence score is a fractional number between 0 and 1 estimating the measure of confidence in the recognition result (1 indicates the highest level of confidence).

text

(copy, readonly) NSString * text

A word or combination of words.