【发布时间】:2018-10-23 18:12:33
【问题描述】:
我想说:
“我的账户余额是多少”
将上述语音转换成数组like的简单例子;
words = {
[What]
[is]
[my]
[Account]
[Balance]
};
所以,我可以检查单词和路由到相应的页面。
switch (voiceToRoute) {
case “Account”:
Navigator.push(
context,
new MaterialPageRoute(
builder: (context) => new AccountPage()));
},
break;
case “Balance”:
Navigator.push(
context,
new MaterialPageRoute(
builder: (context) => new BalancePage()));
},
break;
}
谁能在 Dart/Flutter 中提供关于语音到文本的解决方案?
【问题讨论】:
标签: arraylist text navigation flutter voice-recognition