#JSGF V1.0; grammar task5; public <command> = [yes] <robot> [please] <command1> [please]; <command1> = (<toBathroom> | <toCashRegister> | <toTableA> | <toTableB> | <toTableC> ) ; <robot> = (tiago | tobi); <toBathroom> = ([bring me] [to] [the] <bathroom> | I want to go to the <bathroom> | where is the <bathroom> |where [can] [do] I find the <bathroom>); <bathroom> = (bathroom | toilet); <toCashRegister> = ([bring me] [to] [the] <cashRegister> | I want to go to the <cashRegister> | where is the <cashRegister> | where [can] [do] I find the <cashRegister>); <cashRegister> = (cashier | [cash] register); <toTableA> = ([bring me] [to] table A | I want to go to table A | where is table A | where [can] [do] I find table A); <toTableB> = ([bring me] [to] table B | I want to go to table B | where is table B | where [can] [do] I find table B); <toTableC> = ([bring me] [to] table C | I want to go to table C | where is table C | where [can] [do] I find table C);