From 22d84c7185e9cc69e76068bd5f4682e5ac0ced51 Mon Sep 17 00:00:00 2001 From: Markus Vieth <mvieth@techfak.uni-bielefeld.de> Date: Fri, 8 Feb 2019 19:04:48 +0100 Subject: [PATCH] Add changes to bill grammar --- psGrammar/challenge/team2/bill.jsgf | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/psGrammar/challenge/team2/bill.jsgf b/psGrammar/challenge/team2/bill.jsgf index 3d3ad615..7543ac4d 100644 --- a/psGrammar/challenge/team2/bill.jsgf +++ b/psGrammar/challenge/team2/bill.jsgf @@ -1,8 +1,13 @@ #JSGF V1.0; grammar bill; public <command> = ( <setupbill> | <thatscorrect> | <correction> ); -<setupbill> = [tiago] [please] (set up the ( bill | check ) | could i have the ( bill | check ) | i ( would like | want ) to pay | can i pay | bill ) [now] [please]; -<thatscorrect> = ( yes | [yes] you got that ( right | correct ) | [yes] that is ( right | correct ) ); -<correction> = [ [no] i ordered | there are ] <drink> [ [and] <drink>] [ [and] <drink>]; -<drink> = [ a | one | two | three ] [ bottle of | bottles of | cup of | cups of | can of | cans of] ( coke | malz | lemonade | water | ice tea | coffee ); +<setupbill> = [tiago] [please] (set up the ( bill | check ) | (could i have the) ( bill | check ) | i ( would like | want ) (to pay) | (can i pay) | bill ) [now] [please]; + + +<thatscorrect> = ( yes | [yes] (you got that) ( right | correct ) | [yes] (that is) ( right | correct ) ); + + +<correction> = [ [no] (i ordered) | (there are) ] <drink> [ [and] <drink>] [ [and] <drink>]; + +<drink> = [ ( (a | one) [(bottle | cup | can) of] ) | ((two | three) [(bottles | cups | cans) of]) ] ( coke | malz | lemonade | water | ice tea | coffee ); -- GitLab