6#ifndef FAKEPYTHONSPEECHTRANSCRIPTION_H
7#define FAKEPYTHONSPEECHTRANSCRIPTION_H
29 bool m_verbose =
true;
30 std::string m_language=
"auto";
32 std::string m_moduleName =
"a";
33 std::string m_path =
"b";
34 std::string m_className =
"c";
109 bool close()
override;
FakePythonSpeechTranscription: A fake implementation of a speech transcriber plugin using python embe...
FakePythonSpeechTranscription(const FakePythonSpeechTranscription &)=delete
virtual yarp::dev::ReturnValue transcribe(const yarp::sig::Sound &sound, std::string &transcription, double &score) override
Performs the speech transcription.
FakePythonSpeechTranscription(FakePythonSpeechTranscription &&)=delete
FakePythonSpeechTranscription()
FakePythonSpeechTranscription & operator=(const FakePythonSpeechTranscription &)=delete
bool close() override
Close the DeviceDriver.
virtual yarp::dev::ReturnValue getLanguage(std::string &language) override
Gets the current language set for speech transcription.
virtual ~FakePythonSpeechTranscription()
virtual yarp::dev::ReturnValue setLanguage(const std::string &language) override
Sets the language for speech transcription.
FakePythonSpeechTranscription & operator=(FakePythonSpeechTranscription &&)=delete
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
Interface implemented by all device drivers.
A generic interface for speech transcription.
A mini-server for performing network communication in the background.
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.