SpeechKit.Parameters class

ru.yandex.speechkit

public  abstract class  SpeechKit.Parameters 

SpeechKit parameters used in SpeechKit.setParameter and SpeechKit.getParameter.

Nested classes

Fields

StringdisableAntimat

Profanity in recognized speech.

StringenablePunctuation

Punctuation in the recognized speech.

StringencodingQuality

Quality of the audio encoding.

StringsilenceBetweenUtterances

The minimum pause between utterances, in milliseconds.

StringsoundFormat

Format of audio to transmit over the network.

Field descriptions

disableAntimat

public static final String disableAntimat ()

Profanity in recognized speech.

If set to false, profanities are excluded from recognition results.

enablePunctuation

public static final String enablePunctuation ()

Punctuation in the recognized speech.

If the parameter is set to true, punctuation marks are inserted in the recognized speech.

encodingQuality

public static final String encodingQuality ()

Quality of the audio encoding.

For Speex, the quality of audio encoding is set as an integer between 0 and 10: Where 0 is minimal quality (fast encoding) and 10 is maximal audio quality (slow encoding).

silenceBetweenUtterances

public static final String silenceBetweenUtterances ()

The minimum pause between utterances, in milliseconds.

If a pause is shorter than the minimum, it isn't interpreted as the end of the utterance. In short query mode, the end of the utterance ends the session.

soundFormat

public static final String soundFormat ()

Format of audio to transmit over the network.

Possible values are described in SpeechKit.Parameters.SoundFormats.