ufal / charles-translator-web-frontend

Charles Translator: MT from Charles University
6 stars 7 forks source link

Add a newline after each ASR input #42

Closed martinpopel closed 2 years ago

martinpopel commented 2 years ago

Whenever the ASR model detects a pause and ends a sentence, the sentence is added to the input box. I think a newline should be added after the sentence, so that in longer speech, both the input and the translation are clearer and easier to read. In future, we may decide that only longer pauses generate a newline, so that there could be multiple sentences on the same line, but let's start with something simple.

Oh, and the microphone icon tooltip should be "translate by voice" (or "speech to text", but not "speach").

EbrithilNogare commented 2 years ago

done, new label is "translate by voice" and each block has upperCase first letter and dot and newline at the end.

martinpopel commented 2 years ago

Thanks, the newlines are now added correctly. I am closing this issue now because ASR is not ready for deployment yet.