alphacep / vosk-server

WebSocket, gRPC and WebRTC speech recognition server based on Vosk and Kaldi libraries
Apache License 2.0
918 stars 248 forks source link

Some questions #70

Closed TaridaGeorge closed 4 years ago

TaridaGeorge commented 4 years ago

Questions:

Q1: Is this line (L41) from stt_server.py used for something?

Q2: What are the drawbacks from uncommenting gc.set_threshold(0) line?

Q3: Wouldn't be better to send the start_time and end_time of words in milliseconds as int64 instead of google.protobuf.Duration?

nshmyrev commented 4 years ago

Q1: Is this line (L41) from stt_server.py used for something?

no

Q2: What are the drawbacks from uncommenting gc.set_threshold(0) line?

disabling garbage collection slows down the runtime

Q3: Wouldn't be better to send the start_time and end_time of words in milliseconds as int64 instead of google.protobuf.Duration?

no