git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8969 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-07-09 22:30:40 +00:00
parent c642d0fd7f
commit fad3811708

View File

@ -87,7 +87,7 @@ pizza.typeObtainer.setGrammar("pizza_type", "", "result", dft_min, dft_confirm,
pizza.typeObtainer.setTopSound("GP-SpecialtyorCustom"); pizza.typeObtainer.setTopSound("GP-SpecialtyorCustom");
pizza.typeObtainer.setBadSound("GP-NI"); pizza.typeObtainer.setBadSound("GP-NI");
pizza.typeObtainer.addItemAlias("^Specialty$,^Specialty\\s*pizza$", "Specialty"); pizza.typeObtainer.addItemAlias("^Specialty$,^Specialty\\s*pizza$", "Specialty");
pizza.typeObtainer.addItemAlias("^pick\\s*my\\s*", "Custom"); pizza.typeObtainer.addItemAlias("^pick", "Custom");
/***************** Which Specialty? *****************/ /***************** Which Specialty? *****************/
@ -107,7 +107,7 @@ pizza.toppingsObtainer = new SpeechObtainer(asr, 1, 5000);
pizza.toppingsObtainer.setGrammar("pizza_toppings", "", "result", dft_min, 400, true); pizza.toppingsObtainer.setGrammar("pizza_toppings", "", "result", dft_min, 400, true);
pizza.toppingsObtainer.setTopSound("GP-Toppings"); pizza.toppingsObtainer.setTopSound("GP-Toppings");
pizza.toppingsObtainer.setBadSound("GP-NI"); pizza.toppingsObtainer.setBadSound("GP-NI");
pizza.toppingsObtainer.addItemAlias("anchovie,anchovies", "anchovie"); pizza.toppingsObtainer.addItemAlias("anchovie,anchovies", "anchovies");
pizza.toppingsObtainer.addItemAlias("artichoke,artichockes", "artichoke"); pizza.toppingsObtainer.addItemAlias("artichoke,artichockes", "artichoke");
pizza.toppingsObtainer.addItemAlias("canadian\\s*bacon", "canadianbacon"); pizza.toppingsObtainer.addItemAlias("canadian\\s*bacon", "canadianbacon");
pizza.toppingsObtainer.addItemAlias("everything", "everything"); pizza.toppingsObtainer.addItemAlias("everything", "everything");