alphacep / alphacep/vosk-api

Feature Request: Being able to only reload the graph

Aperta
#473 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Jupyter Notebook
Stelle
15.1k
Fork
1.8k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

First of all, thanks for publishing this nice API. I really appreciate the well-thought-out API-design and hope I can contribute to it here and there.

To the topic: Let's say I have built certain domain specific graphs or graphs with an extended vocabulary or virtually anything language model specific. In these cases it would be nice to be able to reuse the already loaded acoustic model but only load the graph specific stuff as adjusted Model instance. This could for example be realized by adding something like `Model loadGraph(const char *graph_path);` or `Model loadGraph(const char *graph_path, const char *rescore_path);` to the Model class. Especially in a server environment where potentially lots of models / graphs are preloaded, this feature would be very useful in terms of memory footprint.

How do you think about that?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.