<%-- 
    Document   : GetCinema
    Created on : Dec 16, 2009, 7:13:50 PM
    Author     : Administrator
--%>
<%@page contentType="application/x-nuance-gsl; charset=UTF-8"%>
<%@ page import="grammar.*" %>


CINEMAS
[
<%
if(request.getParameter("all").compareTo("yes")==0)
    out.println("[([(?I_WANT_TO hear ?the ?whole list ?(of cinemas)) (all ?[(?the list ?(of cinemas)) (of them) (?the cinemas)]) ] ?please) dtmf-9] {<choice \"all\">}");
%>
(?I_WANT

[
<%
    String jsonCinemas = GrammarUtil.addQuestionMarks(request.getParameter("cinemas"));
    out.println(GetCinema.slots(jsonCinemas));
%>
]

?cinema ?please)
]


I_WANT_TO
[
    (i want to)
    (i would like to)
    (i am looking forward to)
]

I_WANT
[
    (i want ?the)
    (i would like ?the)
    (i am looking forward to go to ?the)
]


