如何获得检查同音字的逻辑? [英] How to get a logic to check for a homophone?

查看:259
本文介绍了如何获得检查同音字的逻辑?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们想制作一个Android应用程序,我们将在其中为用户提供一个随机单词。并且用户必须给出该单词的同音词。应用程序将检查答案是正确还是错误,并告诉用户。但我们没有得到如何做到这一点?那么请提出任何建议吗?

We want to make an android app in which we will give user a random word. And user have to give the homophone of that word. App will check whether the answer is correct or wrong and will tell the user. But we are not getting how to do it? so please any suggestions?

推荐答案

无论您以何种方式生成应用程序,您都需要 Java Speech API [ ^ ]使用这些单词,语音等;因为你将使用基于语音的引擎来检查单词的声音是否相似。
No matter which way you produce the application, you'll be needing the Java Speech API[^] to work with these words, phonetics etc; because you're going to be using the phonetics based engine to check whether the words are similar in their sound or not.


这篇关于如何获得检查同音字的逻辑?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆