语音识别语法设置失败,为什么?
heapbuffer 发布于2015-06 浏览:7104 回复:2
0
收藏

#ABNF 1.0 UTF-8;


language zh_CN;

mode voice;

root $basicCmd;


meta "author" is "Baidu Speech";


/**

 * Basic command.

 * @example please move the window

 * @example open a file

 */


public $basicCmd = $command;


$command = $digit<4~8>;

$digit = 一 | 二 | 三 | 四 | 五 | 六 | 七 | 八 | 九 | 零 | 两 | 幺;



为什么会失败呢?

收藏
点赞
0
个赞
共2条回复 最后由用户已被禁言回复于2022-04
#3luckyToMe2回复于2020-01

看看

0
#2ziboliukai回复于2015-06

请检查文件是否已经使用UTF-8编码。

0
TOP
切换版块