Android 语音转文本
我有包含产品的表。
ProductCode ProductName Qty Price
0001 AAAA 10 100.00
同样,我也有它。 Qty
是 EditText
。用户需要输入数量。
在这里,例如用户说 10,那么它应该在该特定的 EditText 中输入 10。我们怎样才能做到这一点。这是我的图像:
请帮助我如何做到这一点?有什么想法吗?
我看过这个论坛 android 中的文本到语音 https://stackoverflow.com/questions/6608236/text-to-speech- Android 中的频率问题 Android 语音到文本处理
&想知道这是性能问题吗?这意味着输入文本需要一些时间?
提前致谢..
I have Table which contain the products.
ProductCode ProductName Qty Price
0001 AAAA 10 100.00
Like wise i have it.The Qty
is the EditText
. User need to enter the quantity.
In here, for example user say 10 then it should enter 10 into that particular EditText. How we can do this. This is my image:
Please help me how we can do this? Is there any idea?
I have looked this forums
Text To Speech In android
https://stackoverflow.com/questions/6608236/text-to-speech-frequency-problem-in-android
Android speech To Text Handling
& want to know is it the performance issue? that means enter the text take some times?
Thanks in advance..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在性能方面没有问题,但是
TTS
需要太多时间,首先它会听语音分析它,如果分析正确然后填充,整个过程足够长。除此之外,用户必须集中精力在他/她的讲话上,这对最终用户来说确实很痛苦
In terms of performance there is no issue but
TTS
requires too much time first it will listen the voice analyze it and if analyzed correctly then fill up and this whole process is lengthy enough.Apart from that user have to put concentration on his/her speech which really pain for end user
你不需要做任何事情。用户可以点击打开的 editText 区域,然后单击麦克风图标开始语音识别。
如果您想要一个专门的按钮或其他方式来输入输入,您将需要如下代码:
https://github.com/gmilette/Say-the-Magic-Word-
You don't need to do anything. The user can tap the open editText area, then click the microphone icon to start speech recognition.
If you want a specialized button or other way to put the input in, you'll need code like this:
https://github.com/gmilette/Say-the-Magic-Word-