alphacep / alphacep/vosk-api

Feature Request: Being able to only reload the graph

Ouverte
#473 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Jupyter Notebook
Étoiles
15.1k
Forks
1.8k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.