RecognitionWord class

ru.yandex.speechkit

public  class  RecognitionWord 

A word or phrase that is part of a hypothesis.

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

Constructors

RecognitionWord(String text, float confidence)

Methods

floatgetConfidence()

Recognition confidence score.

StringgetText()

A word or combination of words.

StringtoString()

Constructor descriptions

RecognitionWord

public RecognitionWord (String text, float confidence)

Method descriptions

getConfidence

public float getConfidence ()

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).

getText

public String getText ()

A word or combination of words.

toString

public String toString ()