alphacep / alphacep/vosk-api

Installation instructions: missing steps

Abierto
#2,049 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Jupyter Notebook
Estrellas
15.1k
Forks
1.8k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I visited https://alphacephei.com/vosk/install to look for the installation instructions.
I want to take the easiest approach:
```cmd
pip3 install vosk
```
That worked, great! So, I don't need all the "compile yourself" stuff.

Now, let's transcribe my meeting:
```cmd
vosk-transcriber -i 260708_0212.MP3 -o Meeting.txt
```
That doesn't work, and IMHO, of course not. Because I haven't downloaded a model and I haven't specified the language to use.

The installation instructions simply skip the step of downloading a model from https://alphacephei.com/vosk/models
No worries, I downloaded a German model. That's a ZIP file. I can unzip it. But where do I need to put those files?
Let me try to help myself:
```cmd
vosk-transcriber –-help
[...]
usage: vosk-transcriber.exe [-h] [--model MODEL]
vosk-transcriber.exe: error: unrecognized arguments: –-help
```
Hmm, that's not overly helpful. What does "MODEL" stand for? Is it a path to a file, a folder, a name, a server URL?
Also, the `-i` and `-o` command line arguments are not listed. Why would the example `vosk-transcriber -i test.mp4 -o test.txt` ever work?

Honestly, it's quite hard for me to get this up and running, even for me who studied computer science. I couldn't complete this in 15 minutes and I think that is hindering the success of Vosk.

My next try:
```cmd
vosk-transcriber -i 260708_0212.MP3 -o Meeting.txt --model E:\Downloads\vosk-model-de-tuda-0.6-900k
[...]
LOG (VoskAPI:ReadDataFiles():model.cc:317) Loading CARPA model from E:\Downloads\vosk-model-de-tuda-0.6-900k/rescore/G.carpa
ERROR (VoskAPI:ReadInternal():const-arpa-lm.cc:610) ConstArpaLm section reading failed.
[...]
Exception: Failed to create a model
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.