Skip to content

longRunningRecognizeAsync return SpeechRecognitionResult whit Alternatives different from first have word list empty #3316

@bud4

Description

@bud4
// after  longRunningRecognizeAsync 
// with setMaxAlternatives to 6
for ( SpeechRecognitionAlternative alt :  result.getAlternativesList()) {
    alt.getConfidence(); // is ok full
    alt.getTranscript(); // is ok full
      	for ( WordInfo word : alt.getWordsList() ) { // NOT ok word list is empty after first ..     
		//speechRecognitionAlternative
		ParolaTrascrizione parola = new ParolaTrascrizione(word);
		listParole.add(parola);
	}
}

Metadata

Metadata

Assignees

Labels

api: speechIssues related to the Speech-to-Text API.priority: p2Moderately-important priority. Fix may not be included in next release.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions