Speech to Text conversion
Ahad-Haque opened this issue · 3 comments
Ahad-Haque commented
Hi, I'm trying to create an app in Temi where I want to show the words that user says. So, how can I convert speech into Text and show it?
zjn0505 commented
You can use wakeup(), and get the text from onAsrResult()
Ahad-Haque commented
Can you please provide an example? @zjn0505
here is what im trying to get,
robot = Robot.getInstance()
private fun listen(){
robot.wakeup()
//String text = Please provide your implementation on getting text from onAsrResult()
etSpeechToTextOutput.setText(text)
}
Thank you very much!
Ahad-Haque commented
Nevermind I implemented the feature successfully. Thank you very much. @zjn0505