menu.gram

来自「此源代码为java语音识别的开源系统」· GRAM 代码 · 共 21 行

GRAM
21
字号
#JSGF V1.0;/** * JSGF Grammar for dialog manager example */grammar menu;public <command> =                              listen to music         { goto_music } |                        make a phone call       { goto_phone } |                        play a game             { goto_games } |                        read a book             { goto_books } |                        read my email           { goto_email } |                        read a newspaper        { goto_news } |                        show statistics         { stats } |                        watch a movie           { goto_movies } |                        exit the program        { exit } |                        weather forecaster      { goto_weather } |                        get help                { help } ;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?