Go to the documentation of this file.
22 #include <picovoice.h>
71 KeyValue(
const std::string& key,
const std::string& value);
double sensitivity_
sensitivity_ Recognizer sensitivity
std::ostream & operator<<(std::ostream &os, const PorcupineRecognizerData::Parameters &p)
void configure(const RhinoRecognizerData::Parameters ¶meters) override
bool require_endpoint_
require_endpoint_ If true, Rhino requires an endpoint (chunk of silence) before finishing inference.
RhinoRecognizerData::Result getResult() override
getResult Get the recognition result
void recognizeInit() override
RhinoRecognizerData::Result result_
std::vector< std::string > intents_
std::vector< KeyValue > slots_
slots_ The recognized intent slots
bool recognizeProcess(int16_t *frames) override
bool is_understood_
is_understood_ Whether the recognizer understood an intent
KeyValue(const std::string &key, const std::string &value)
struct pv_rhino pv_rhino_t
std::string context_path_
context_path_ Path to the Picovoice Rhino context.rhn
std::string intent_
intent_ The recognized intent
RecordSettings getRecordSettings() override
std::vector< std::string > intents_
intents_ Indent candidates, if empty, all returned intents will be considered valid