Go to file
胡恒 ec45c3ffac
!10 同步代码
Merge pull request !10 from 胡恒/upstream
2023-04-17 08:18:15 +00:00
config feat(语音识别): 修改语音识别服务器IP 2023-04-14 11:11:17 +08:00
data/readme_png 📃 docs(自述文件): 添加自述文件图片 2023-03-27 11:12:13 +08:00
speechinput 🐞 fix(语音识别): 调整语音识别逻辑 2023-03-17 17:25:07 +08:00
speechrecognitionclient 🐞 fix(语音识别): 修复超时后继续识别问题 2023-04-17 11:49:58 +08:00
src 🐞 fix(应用拉起): 添加&修改关键词 2023-04-17 15:37:16 +08:00
translations 📃 docs(翻译): 修改翻译 2023-04-17 14:07:08 +08:00
.gitignore 🎉 init(初始化): 2023-03-10 15:31:22 +08:00
CMakeLists.txt feat(语音识别服务): 修改服务器IP获取方式 2023-04-06 15:56:34 +08:00
README.en.md 🐞 fix(UI模块): 统一关键词为语音助手 2023-04-17 14:02:33 +08:00
README.md 🐞 fix(UI模块): 统一关键词为语音助手 2023-04-17 14:02:33 +08:00
kylin-asrassistant.desktop 🐞 fix(UI模块): 统一关键词为语音助手 2023-04-17 14:02:33 +08:00
lupdate_ts 🎉 init(UI模块): 初始化界面代码 2023-03-15 19:57:41 +08:00
rawToway.py 🎉 init(语音识别): 添加语音识别后端服务 2023-03-16 17:17:44 +08:00

README.en.md

Asr assistant

introduce

Asr assistant is an application developed based on Baidu open source model library paddlespeech, which is convenient for users to operate quickly.

Main function

To recognize the user's speech input.

Quick-opening applications is currently supported.

move

Default power-on since the start, placed to the system tray

Instructions for use

For example, open the Asr assistant, say "open the calculator," and you can quickly open the calculator

Voice pull configuration

Create a new xxx-startup.config file in the project, and put the config file under the /usr/share/kylin-asrassistant/config/ directory when you install the app.

The file format is as follows

{

"keyword": "唤醒关键词1;唤醒关键词2",

"path": "可执行文件路径, 可加参数"

}

如:

You need to pull up kylin-connectivity

Create a new kylin-connectivity-startup.config file in the project

img

The file adds the following json fields:

img

Finally, add the following items to the install file

config/kylin-connectivity-startup.config /usr/share/kylin-asrassistant/config/

Or are added in the CMakeLists.txt

install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config/kylin-connectivity-startup.config DESTINATION  /usr/share/kylin-asrassistant/config/)

compile

cd kylin-asrassistant
mkdir build
cd build
cmake ..
make
sudo make install

run command

./kylin-asrassistant

shakedown test

The Asr assistant currently and adopts the logging function of the kui-log4qt module. The log is saved by default at ~ /. In the log/kylin-asrassistant.log

Participated in and contributed

  1. Fork is present in this warehouse
  2. Create a new Feat _ xxx branch
  3. Submit the code
  4. Create a new Pull Request