RecognitionHypothesis class

ru.yandex.speechkit

public class RecognitionHypothesis

Represents a single recognition hypothesis.

The structure contains the text of the hypothesis and its 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). If score isn't available, the special value BAD_CONFIDENCE is used.

Note.

The confidence score is provided solely for informational purposes. The formula for calculating the score might be adjusted over time, so don't make decisions based on the absolute score. Use Recognition.isResultConfident instead.