| <?xml version="1.0" encoding="utf-8"?> |
| <config> |
| <!-- |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| --> |
| <input> |
| <property-list> |
| <property name="incompletetimeout" value="1s"/> |
| <property name="completetimeout" value="1s"/> |
| </property-list> |
| <events> |
| <link event="listGenres"> |
| <grammar type="application/srgs+xml" version="1.0" root="genreList"> |
| <rule id="genreList" scope="public"> |
| <one-of> |
| <item>list genres</item> |
| </one-of> |
| </rule> |
| </grammar> |
| </link> |
| <catch event="listGenres"> |
| <prompt> |
| Blues, Box Sets, Broadway and Vocalists, Childrens Music, |
| Christian and Gospel, Classic Rock, Classical, Country, |
| Dance and DJ, Folk, Hard Rock and Metal, Imports, Indie Music, |
| International, Jazz, Latin Music, Miscellaneous, New Age, |
| Opera and Vocal, Pop, R and B, Rap and Hip-Hop, Rock, Soundtracks |
| </prompt> |
| <reprompt/> |
| </catch> |
| <link event="listCategories"> |
| <grammar type="application/srgs+xml" version="1.0" root="categoryList"> |
| <rule id="categoryList" scope="public"> |
| <one-of> |
| <item>list categories</item> |
| </one-of> |
| </rule> |
| </grammar> |
| </link> |
| <catch event="listCategories"> |
| <prompt> |
| Top Sellers, New Releases, Featured Items, Today's Deals. |
| </prompt> |
| <reprompt/> |
| </catch> |
| <link next="pause.jsp?resumeURI=mainmenu.do"> |
| <grammar mode="voice" version="1.0" root="pause"> |
| <rule id="pause" scope="public"> |
| <one-of> |
| <item>pause</item> |
| </one-of> |
| </rule> |
| </grammar> |
| </link> |
| </events> |
| <prompt-list> |
| <prompt>Choose a music genre or select one of the V-Store categories.</prompt> |
| </prompt-list> |
| <help-list> |
| <help> |
| <prompt>Say Today's Deals, Top Sellers, New Releases or choose a genre. |
| To list genres say list genres, to list categories say list categories.</prompt> |
| </help> |
| </help-list> |
| <noinput-list> |
| <noinput count="1"> |
| <prompt>Say Today's Deals, Top Sellers, New Releases or choose a genre.</prompt> |
| </noinput> |
| <noinput count="2"> |
| <prompt>Select one of the categories such as Today's Deals, Top Sellers, New Releases |
| or choose a genre. To list genres say list genres, to list categories say list |
| categories.</prompt> |
| </noinput> |
| <noinput count="3"> |
| <prompt>I appear to be having trouble hearing you. |
| Waiting for you to select one of the categories or genres.</prompt> |
| </noinput> |
| </noinput-list> |
| <nomatch-list> |
| <nomatch> |
| <prompt>I am sorry. I didn't understand you. Please repeat that.</prompt> |
| </nomatch> |
| </nomatch-list> |
| </input> |
| <custom name="category-only"> |
| <property-list> |
| <property name="incompletetimeout" value="1s"/> |
| <property name="completetimeout" value="1s"/> |
| </property-list> |
| <events> |
| <link event="listCategories"> |
| <grammar type="application/srgs+xml" version="1.0" root="list"> |
| <rule id="list" scope="public"> |
| <one-of> |
| <item>list categories</item> |
| </one-of> |
| </rule> |
| </grammar> |
| </link> |
| <catch event="listCategories"> |
| <prompt> |
| Top Sellers, New Releases, Featured Items, Today's Deals. |
| </prompt> |
| <reprompt/> |
| </catch> |
| </events> |
| <prompt-list> |
| <prompt>Select one of the categories.</prompt> |
| </prompt-list> |
| <help-list> |
| <help> |
| <prompt>Say Today's Deals, Top Sellers or New Releases.</prompt> |
| <reprompt/> |
| </help> |
| </help-list> |
| <noinput-list> |
| <noinput count="1"> |
| <prompt>Say Today's Deals, Top Sellers or New Releases.</prompt> |
| </noinput> |
| <noinput count="2"> |
| <prompt>You can also say Featured Items or Best Sellers.</prompt> |
| </noinput> |
| <noinput count="3"> |
| <prompt>I appear to be having trouble hearing you. |
| Waiting for you to choose one of the categories. You can say list |
| categories to list the available categories.</prompt> |
| </noinput> |
| </noinput-list> |
| <nomatch-list> |
| <nomatch> |
| <prompt>I am sorry. I didn't understand you. Please repeat that.</prompt> |
| </nomatch> |
| </nomatch-list> |
| </custom> |
| <confirm> |
| <property-list> |
| <property name="incompletetimeout" value="1s"/> |
| <property name="completetimeout" value="1s"/> |
| </property-list> |
| <prompt-list> |
| <prompt>I think you said #{model.canonicalizedValue}. Is that |
| right? </prompt> |
| </prompt-list> |
| <help-list> |
| <help> |
| <prompt>To accept the value, say yes. To change your mind, say no.</prompt> |
| </help> |
| </help-list> |
| <noinput-list> |
| <noinput> |
| <prompt>Is #{model.canonicalizedValue} an acceptable value? Please |
| say yes or no.</prompt> |
| </noinput> |
| </noinput-list> |
| <nomatch-list> |
| <nomatch> |
| <prompt>If #{model.canonicalizedValue} is acceptable, say yes. Otherwise, |
| say no.</prompt> |
| </nomatch> |
| </nomatch-list> |
| <reject> |
| <prompt>OK, lets try again.</prompt> |
| </reject> |
| </confirm> |
| <validate> |
| <handler errorCode="635463"> |
| <prompt>I'm sorry, but there is no default or initial value available. </prompt> |
| </handler> |
| <handler errorCode="1"> |
| <prompt>You must specify a category in #{model.canonicalizedValue} as well. </prompt> |
| </handler> |
| </validate> |
| <echo> |
| <property-list> |
| <property name="universals" value="all"/> |
| </property-list> |
| <prompt-list> |
| <prompt>OK, #{model.canonicalizedValue}. Got it.</prompt> |
| </prompt-list> |
| </echo> |
| </config> |