Recognizer design change

This commit is contained in:
msqr1
2024-01-25 23:30:45 -08:00
parent 48b54295f3
commit efb56e19f9
7 changed files with 67 additions and 49 deletions

View File

@@ -21,10 +21,10 @@ int main() {
}
EMSCRIPTEN_BINDINGS() {
function("setLogLevel", &vosk_set_log_level, allow_raw_pointers());
class_<model>("model")
class_<model>("Model")
.constructor<std::string, std::string, std::string>(allow_raw_pointers());
class_<spkModel>("spkModel")
class_<spkModel>("SpkModel")
.constructor<std::string, std::string, std::string>(allow_raw_pointers());
class_<recognizer>("recognizer")