Hello. Can you please tell me how to use the punctuator to process the text I get from the vosk?
Probably for my purposes there is no need to use the file playing_with_model.py every time
Recasepunc currently works like this
if 'result' in res:
text = " ".join([w['word'] for w in res['result']])
cased = subprocess.check_output('python3 /home/ubuntu/speech/recasepunc/recasepunc.py predict /home/ubuntu/speech/recasepunc/checkpoint', shell=True, text=True, input=text)
but it's slow enough for my purposes, so I want to try yours.
I set everything up and everything works through the playing_with_model.py file, now the question is in streaming recognition.
Hello. Can you please tell me how to use the punctuator to process the text I get from the vosk? Probably for my purposes there is no need to use the file playing_with_model.py every time
Recasepunc currently works like this
but it's slow enough for my purposes, so I want to try yours. I set everything up and everything works through the playing_with_model.py file, now the question is in streaming recognition.
Thank you