diff --git a/ps-grammar/demos/listen.jsgf b/ps-grammar/demos/listen.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..0f8a58b9b3eaec3255eeccaa115d785b1406684a --- /dev/null +++ b/ps-grammar/demos/listen.jsgf @@ -0,0 +1,15 @@ +#JSGF V1.0; +grammar commands; + +public <command> = [tobi] ( <goto> | <fetch> ); + +<goto> = (go to <location>); + +<fetch> = (bring me <objects>) + +<location> = (table <numberOfTable>) | shelf | drinks | snacks; +<numberOfTable> = (one | two | three | four | five | six | seven | eight | nine); + +<objects> = (<drinks> | <snacks>); +<drinks> = (orange juice) | beer | cola | (chocolate milk) | (energy drink) | (grape juice) | milk | water; +<snacks> = (chocolate cookies) | chips | biscuits | bread | pringles | (strawberry cookies); \ No newline at end of file