alphacep / alphacep/vosk-api

Can i get timings of the utterance

Aperta
#373 1 commento 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

Hi
Can i get timecode in file?

now i get something like this
```bash
{
"result" : [{
"conf" : 1.000000,
"end" : 13.230000,
"start" : 12.750000,
"word" : "я"
}, {
"conf" : 0.990503,
"end" : 13.380000,
"start" : 13.260000,
"word" : "в"
}, {
"conf" : 0.963313,
"end" : 13.859370,
"start" : 13.380000,
"word" : "пятницу"
}, {
"conf" : 0.551499,
"end" : 14.399004,
"start" : 13.860000,
"word" : "сбрасывать"
}, {
"conf" : 0.671136,
"end" : 15.089973,
"start" : 14.399004,
"word" : "заявление"
}, {
"conf" : 0.271235,
"end" : 15.838691,
"start" : 15.240000,
"word" : "майру"
}, {
"conf" : 0.656716,
"end" : 16.590000,
"start" : 16.050000,
"word" : "продление"
}, {
"conf" : 1.000000,
"end" : 17.191490,
"start" : 16.590000,
"word" : "контракта"
}],
"text" : "я в пятницу сбрасывать заявление майру продление контракта"
}
```
what i want see
```
{
"result" : [{
"conf" : 1.000000,
"end" : 13.230000,
"start" : 12.750000,
"word" : "я"
}, {
"conf" : 0.990503,
"end" : 13.380000,
"start" : 13.260000,
"word" : "в"
}, {
"conf" : 0.963313,
"end" : 13.859370,
"start" : 13.380000,
"word" : "пятницу"
}, {
"conf" : 0.551499,
"end" : 14.399004,
"start" : 13.860000,
"word" : "сбрасывать"
}, {
"conf" : 0.671136,
"end" : 15.089973,
"start" : 14.399004,
"word" : "заявление"
}, {
"conf" : 0.271235,
"end" : 15.838691,
"start" : 15.240000,
"word" : "майру"
}, {
"conf" : 0.656716,
"end" : 16.590000,
"start" : 16.050000,
"word" : "продление"
}, {
"conf" : 1.000000,
"end" : 17.191490,
"start" : 16.590000,
"word" : "контракта"
}],
"text" : "я в пятницу сбрасывать заявление майру продление контракта"
"timecode" : "1m 25s"
}
```

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.