虚拟助手知识

Virtual Assistants knowledge

我正在研究人工智能 虚拟助手是如何分析问题的?
示例:当我说 "Way from New York City to Washington DC" 时,va 打开了 google map?

如果我自己开发这些东西,我可能会使用像这样的模式 如果 ({a} {linker} {b}) 其中 a 和 b 在地图上的城市列表或与之相关的内容中并且链接器是 "from" 或 "to" 这样的词,我会 运行 google 地图,如果任何剩余的单词会表示它是地图相关的东西,比如 "location"、"map"、"route" 等等...

只是一个猜测,但我认为这应该是这样的

我不知道您更喜欢哪种编程语言来开发这个项目,但我强烈推荐 Python。它是面向对象的、高级的和广泛的支持库。此外,我不知道你对这个项目的目标 OS 是什么,不幸的是你没有指定它,也许你会选择 Android OS(对于移动应用程序你可以使用 Python) 所以 Python 对你来说可能不是一个好的选择。但是我假设你会开发一个桌面应用程序,所以我会在你选择Python开发这个项目的动机下提出我的意见。

首先,您可以使用 speech recogition library 进行语音转文本。从语音中获取文本后,我们可以跳转到下一步分析问题。

目前,深度学习是最先进的,Tensorflow 是利用深度学习的伟大技术。

This is an amazing chatbot framework to build a conversational model for your custom chat bot. You should edit this JSON file to create your conversational intents, after the editing JSON file, you can analyze the questions of user (i.e. your program can understand what user said, the program will parse the question and get the location which is requested by user). When you get the location from question, the program can open browser (for example GoogleMaps) via executing an Ubuntu terminal command in Python.

总而言之,当用户说 "Way from New York City to Washington DC" 时,程序将分别 运行;

  1. 从用户语音中获取文本

  2. 该程序将通过经过训练的系统分析文本,它可以理解用户所说的内容

  3. 程序可以通过JSON[I recommend this way], or may be NLP的结构或任意方式获取用户指定的目的地和当前位置(多种信息可以从用户请求中获取)字符串操作数

  4. 程序将开始加载 Google 地图 URL 通过(例如)Ubuntu 终端命令获取这些位置信息