summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormah <mah@android.com>2010-03-04 16:18:11 -0800
committermah <mah@android.com>2010-03-04 16:18:11 -0800
commitb58f675c627362d65be9a0b79c48ac5ace3ca722 (patch)
tree96409a0e84f7e0f940d1606f01a760346391276e
parent18d902b732b0e834591fff49f36f9f8b174c61fa (diff)
downloadsrec-b58f675c627362d65be9a0b79c48ac5ace3ca722.tar.gz
Update th phone_type_choice and voice_dialer grammars
Both of these grammars now support the commands "exit" and "cancel", which will result in the voice dialer exiting.
-rw-r--r--config/en.us/grammars/VoiceDialer.grxml3
-rw-r--r--config/en.us/grammars/phone_type_choice.grxml1
2 files changed, 3 insertions, 1 deletions
diff --git a/config/en.us/grammars/VoiceDialer.grxml b/config/en.us/grammars/VoiceDialer.grxml
index bee9e9b..52f5ff0 100644
--- a/config/en.us/grammars/VoiceDialer.grxml
+++ b/config/en.us/grammars/VoiceDialer.grxml
@@ -11,6 +11,8 @@
<item> <ruleref uri="#CALL"/> <tag>meaning=CALL.CMD;</tag> </item>
<item> Call Voice Mail <tag>meaning='voicemail'</tag> </item>
<item> Redial <tag>meaning='redial'</tag> </item>
+ <item> Exit <tag>meaning='X'</tag> </item>
+ <item> Cancel <tag>meaning='X'</tag> </item>
<item> <ruleref uri="#OPEN"/> <tag>meaning=OPEN.CMD;</tag> </item>
</one-of>
</rule>
@@ -159,5 +161,4 @@
<item>__Opens__</item>
</rule>
-
</grammar>
diff --git a/config/en.us/grammars/phone_type_choice.grxml b/config/en.us/grammars/phone_type_choice.grxml
index 519fce2..cc61d72 100644
--- a/config/en.us/grammars/phone_type_choice.grxml
+++ b/config/en.us/grammars/phone_type_choice.grxml
@@ -11,6 +11,7 @@
<item>work <tag>MEANING='W'</tag></item>
<item>other <tag>MEANING='O'</tag></item>
<item>exit <tag>MEANING='X'</tag></item>
+ <item>cancel <tag>MEANING='X'</tag></item>
<item>try again <tag>MEANING='R'</tag></item>
<item>retry <tag>MEANING='R'</tag></item>
</one-of>