; File: yes_no.grammar, v1.0 ; ; Description: Grammar for "yes" and "no" with many common alternatives ; ; Returns: The string "yes" or "no" ; ; Example: "sure" returns the string "yes" ; "nope" returns the string "no" ; ; Suggested usage: LIB_YES_NO:x {} ; ; Copyright (c) 1999, Nuance Communications. This sample code and ; information is provided "as is" without any warranty of any kind, ; either expressed or implied. LIB_YES_NO [ [ yes yeah yup sure okay correct right ( ?( ?yes that's ) [ right correct ] ) ( ?yes it is ) ( you got it ) ( yes i do ) ( yes i would ) ( yes it is correct ) ] { } [ no nope incorrect ( no way ) ( no it isn't ) ( ?no [ it's that's ] not [ correct right ] ) ( ?no it isn't ) ( ?no it is not ) ( ?no it's not ) ( no i don't ) ( no i do not ) ( no i wouldn't ) ] { } ]