#include <rhino_recognizer.h>
Public Member Functions | |
void | configure (const RhinoRecognizerData::Parameters ¶meters) override |
RhinoRecognizerData::Result | getResult () override |
getResult Get the recognition result More... | |
~RhinoRecognizer () | |
Public Member Functions inherited from picovoice_driver::RecognizerT< RhinoRecognizerData > | |
virtual void | configure (const typename RhinoRecognizerData ::Parameters ¶meters)=0 |
configure Configure the recognizer More... | |
Public Member Functions inherited from picovoice_driver::Recognizer | |
void | initialize (const std::string &record_directory, double record_timeout) |
initialize Initialize the recognizer More... | |
bool | isPreempting () |
isPreempting Whether a preempt was requested More... | |
bool | isRecognizing () |
isRecognizing Whether the recognize method is running More... | |
void | preempt () |
preempt Preempt the recognition More... | |
void | recognize () |
recognize Recognize something from an audio input stream More... | |
Private Member Functions | |
RecordSettings | getRecordSettings () override |
void | recognizeInit () override |
bool | recognizeProcess (int16_t *frames) override |
Private Attributes | |
std::vector< std::string > | intents_ |
RhinoRecognizerData::Result | result_ |
pv_rhino_t * | rhino_ = NULL |
Additional Inherited Members | |
Protected Member Functions inherited from picovoice_driver::Recognizer | |
void | recognizeThread () |
void | recognizeThreadCatchException () |
Protected Attributes inherited from picovoice_driver::Recognizer | |
std::shared_ptr< std::thread > | recognize_thread_ |
std::string | recognize_thread_exception_string_ |
Definition at line 87 of file rhino_recognizer.h.
picovoice_driver::RhinoRecognizer::~RhinoRecognizer | ( | ) |
Definition at line 52 of file rhino_recognizer.cpp.
|
override |
Definition at line 60 of file rhino_recognizer.cpp.
|
overrideprivatevirtual |
Implements picovoice_driver::Recognizer.
Definition at line 115 of file rhino_recognizer.cpp.
|
overridevirtual |
getResult Get the recognition result
This method should be called after the recognize() method
Implements picovoice_driver::RecognizerT< RhinoRecognizerData >.
Definition at line 110 of file rhino_recognizer.cpp.
|
overrideprivatevirtual |
Implements picovoice_driver::Recognizer.
Definition at line 123 of file rhino_recognizer.cpp.
|
overrideprivatevirtual |
Implements picovoice_driver::Recognizer.
Definition at line 129 of file rhino_recognizer.cpp.
|
private |
Definition at line 101 of file rhino_recognizer.h.
|
private |
Definition at line 102 of file rhino_recognizer.h.
|
private |
Definition at line 103 of file rhino_recognizer.h.