6#ifndef YARP_DEV_ISPEECHTRANSCRIPTION_H
7#define YARP_DEV_ISPEECHTRANSCRIPTION_H
A generic interface for speech transcription.
virtual yarp::dev::ReturnValue transcribe(const yarp::sig::Sound &sound, std::string &transcription, double &score)=0
Performs the speech transcription.
virtual ~ISpeechTranscription()
virtual yarp::dev::ReturnValue getLanguage(std::string &language)=0
Gets the current language set for speech transcription.
virtual yarp::dev::ReturnValue setLanguage(const std::string &language="auto")=0
Sets the language for speech transcription.
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.
For streams capable of holding different kinds of content, check what they actually have.