Recognition class

ru.yandex.speechkit

public  class  Recognition 

The complete recognition result returned by the recognizer.

The recognition result contains a list of the best recognition hypotheses with their confidence scores (a so-called N-best list). The list of hypotheses is sorted in descending order, with the most likely recognition result at the top.

To get the list of hypotheses, use the Recognition.getHypotheses() method.

Constructors

Methods

StringgetBestResultText()

Text of the best hypothesis.

RecognitionHypothesis[]getHypotheses()

List of hypotheses sorted in descending order of confidence score.

StringtoString()

Method descriptions

getBestResultText

public String getBestResultText ()

Text of the best hypothesis.

getHypotheses

public RecognitionHypothesis[] getHypotheses ()

List of hypotheses sorted in descending order of confidence score.

toString

public String toString ()