Glossary
文档中的一些术语可能你不知道; 这一部分应该有助于你更好地理解这些单词以及它们与 Leon 的关系。
<! —more—>
<! —more—>
Actions
动作表示模块入口点。
Attachment: packages/calendar/todolist.py example of the
To-Do List
module including actions such ascreate_list
,complete_todo
, etc.
API
API 代表应用程序编程接口,它允许项目的不同节点之间进行通信。这些节点可以是服务器、库等。
Examples of Leon APIs:
HTTP API 允许他在服务器和客户端之间交换数据。- WebSocket API 允许他在客户端和服务器之间打开双向通信通道。
- Python 库 API 允许开发人员获取用于 Leon 模块的函数。
ASR
ASR 或自动语音识别是利用计算机硬件和基于软件的技术来识别和处理人类的语音。
Leon uses it to make your voice understandable for him.
Attachments:
- app/js/main.es6.js ASR web app.
- server/src/core/asr.js ASR server.
Answers
Answers are Leon’s responses.
Each package has its own set of answers with different translations.
Attachment: packages/checker/data/answers/en.json example of the
Checker
package English answers.
Brain
莱昂的大脑是他核心的重要组成部分。这是他执行他的模块、演讲、挑选句子等的地方。
Attachment: server/src/core/brain.js Leon’s brain.
Classifier
分类器是一种模型。训练完成后,通过算法输出结果。
Leon uses it to store the outcomes of his expressions training phase.
Expressions
表达式是 Leon 用来训练他理解的数据集。
每个包都有自己的数据集,有不同的翻译。
Attachment: packages/checker/data/expressions/en.json example of the
Checker
package English expressions.
Modules
模块是 Leon 的技能; 多亏了它们,Leon 可以发挥他的魔力。模块包含一个或无限的动作。
::: tip
The more modules Leon has, the more skillful he becomes.
Do not hesitate to contribute <3
:::
NLU
自然语言理解帮助计算机理解人类语言。
Leon employs it to load the most appropriate classifier.
Attachment: server/src/core/nlu.js Leon’s NLU.
Packages
Leon’s packages contain one or an infinity of modules. You can consider packages as a category of modules. This is where the answers and expressions are stored.
Attachment: packages/leon example of the
Leon
package including modules related to Leon himself.
::: tip
The full package list is available here.
:::
STT
STT, or Speech-To-Text, 将音频流 (语音) 转换为字符串 (文本)。
Leon has multiple STT parsers; you can choose one (or several) to configure.
Attachment: server/src/stt/stt.js Leon’s STT.
Synchronizer
同步器允许您通过不同的方法 (Google Drive 、当前设备等) 同步内容。))
restricted by the requested module‘s offerings.
You can configure your favorite method for each module that supports this feature.
Attachment: server/src/core/synchronizer.js Leon’s synchronizer.
TTS
TTS or (Text-To-Speech) 将字符串 (文本) 转换为音频流 (语音)。
Leon has multiple TTS synthesizers; you can choose one (or several) to configure.
Attachment: server/src/tts/tts.js Leon’s TTS.