如何在C#中使用语音在Google或Facebook上进行搜索? [英] How to search on Google or Facebook with voice in C#?

查看:76
本文介绍了如何在C#中使用语音在Google或Facebook上进行搜索?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想说一个随机的单词(任何单词),然后程序在谷歌或Facebook或YouTube上搜索...例如:当我说游戏程序将在谷歌或YouTube或任何其他网站上搜索用于游戏或玩耍或其他任何东西。如果你帮助我,我将不胜感激。



我尝试过的事情:



我在YouTube上发现了一些视频,但这没有用。

I want to say a random word (any word) and then the program search it on google or Facebook or YouTube and... for example: when I say "game" program will search on google or YouTube or any other sites for game or play or anything else. I'll be grateful if u help me with this.

What I have tried:

I found some videos on YouTube but that doesn't help.

推荐答案

正如评论中所讨论的,你需要将其分解为个人零件和构建每个部分。从语音识别开始,然后查看要搜索的每个站点的api:youtube,google,facebook。每一个都是不同的,你需要为你想要搜索的每个网站编写单独的代码。



网上应该有很多例子可以让你去。
As discussed in the comments, you need to break this down into individual parts and build each part. Start with voice recognition and then look into each site's api that you want to search: youtube, google, facebook. Each one will be different and you'll need to write separate code for each site you want to search.

Should be plenty of examples online to get you going.


你的问题是2个无关的问题。

- 问题1是语音识别部分。你在麦克风中说了一个单词,你就得到了一个字符串中的单词。

- 问题2是搜索引擎的一部分。你把字符串送到搜索引擎。

- 3你需要一罐胶水把所有东西放在一起。
You question is 2 unrelated questions.
- Question 1 is the voice recognition part. you say a word in microphone and you get the word in a string.
- Question 2 is the search engine part. You feed the string to the search engine.
- 3 you need a pot of glue to put everything together.


这篇关于如何在C#中使用语音在Google或Facebook上进行搜索?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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