From c16e1f6cfd67675a1e999a83fd9d414ce46b7692 Mon Sep 17 00:00:00 2001
From: rlipperts <rlipperts@techfak.uni-bielefeld.de>
Date: Wed, 6 Feb 2019 11:24:24 +0100
Subject: [PATCH] Fix bill creation grammar

---
 psGrammar/challenge/nea/removeAddBillItem.jsgf | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/psGrammar/challenge/nea/removeAddBillItem.jsgf b/psGrammar/challenge/nea/removeAddBillItem.jsgf
index 7e318643..4d68ac90 100644
--- a/psGrammar/challenge/nea/removeAddBillItem.jsgf
+++ b/psGrammar/challenge/nea/removeAddBillItem.jsgf
@@ -1,6 +1,15 @@
 #JSGF V1.0;
 grammar removeAddBillItem;
 
-public <removeAddBillItem> = ([the] <drink> [is missing] [(on|in) the (bill|list)]|[the] <drink> [(is|was) wrong]|remove [the] <drink> [from the (bill|list)| add [the] <drink> to the (bill|list));
+public <removeAddBillItem> = <add>|<remove>;
 
+<add> = <addA> | <addB>;
+<addA> = [the] <drink> [<verb> missing] [<preposition> the <bill>];
+<addB> = [please] add [the] <drink> [to the <bill>];
+<remove> = <removeA> | <removeB>;
+<removeA> = [the] <drink> [<verb> wrong];
+<removeB> = [please] remove [the] <drink> [from the <bill>];
+<bill> = (bill|list);
+<verb> = (is|was);
+<preposition> = (on|in);
 <drink> = (coke|malz|lemonade|water|ice tea|coffee);
-- 
GitLab