6#ifndef FAKESPEECHTRANSCRIPTION_H
7#define FAKESPEECHTRANSCRIPTION_H
31 bool m_verbose =
true;
42 bool close()
override;
This class is the parameters parser for class FakeSpeechTranscription.
FakeSpeechTranscription: A fake implementation of a speech transcriber plugin.
FakeSpeechTranscription(const FakeSpeechTranscription &)=delete
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
bool close() override
Close the DeviceDriver.
virtual yarp::dev::ReturnValue setLanguage(const std::string &language) override
Sets the language for speech transcription.
FakeSpeechTranscription(FakeSpeechTranscription &&)=delete
FakeSpeechTranscription & operator=(FakeSpeechTranscription &&)=delete
virtual yarp::dev::ReturnValue getLanguage(std::string &language) override
Gets the current language set for speech transcription.
FakeSpeechTranscription()
virtual ~FakeSpeechTranscription()
virtual yarp::dev::ReturnValue transcribe(const yarp::sig::Sound &sound, std::string &transcription, double &score) override
Performs the speech transcription.
FakeSpeechTranscription & operator=(const FakeSpeechTranscription &)=delete
Interface implemented by all device drivers.
A generic interface for speech transcription.
A base class for nested structures that can be searched.
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.
An interface to the operating system, including Port based communication.