6#ifndef YARP_DEV_SPEECHTRANSCRIPTION_NWC_YARP_H
7#define YARP_DEV_SPEECHTRANSCRIPTION_NWC_YARP_H
55 bool close()
override;
This class is the parameters parser for class SpeechTranscription_nwc_yarp.
speechTranscription_nwc_yarp: A network wrapper client that connects to a speechTranscription_nws_yar...
yarp::dev::ReturnValue setLanguage(const std::string &language="auto") override
Sets the language for speech transcription.
bool close() override
Close the DeviceDriver.
SpeechTranscription_nwc_yarp(SpeechTranscription_nwc_yarp &&)=delete
SpeechTranscription_nwc_yarp & operator=(SpeechTranscription_nwc_yarp &&)=delete
yarp::dev::ReturnValue getLanguage(std::string &language) override
Gets the current language set for speech transcription.
SpeechTranscription_nwc_yarp & operator=(const SpeechTranscription_nwc_yarp &)=delete
virtual ~SpeechTranscription_nwc_yarp() override
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
yarp::dev::ReturnValue transcribe(const yarp::sig::Sound &sound, std::string &transcription, double &score) override
Performs the speech transcription.
SpeechTranscription_nwc_yarp(const SpeechTranscription_nwc_yarp &)=delete
yarp::os::Port m_thriftClientPort
SpeechTranscription_nwc_yarp()=default
Interface implemented by all device drivers.
A generic interface for speech transcription.
A mini-server for network communication.
A base class for nested structures that can be searched.
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.