[TeamTalk 309]: [845] branches/mrmarge/PocketTeamTalk/Resources: Migrated grammar refactor from trunk (revisions 801-844) to pocketsphinx branch so that it may stay compatible with makelm.

tk@edam.speech.cs.cmu.edu tk at edam.speech.cs.cmu.edu
Wed Oct 17 23:17:54 EDT 2007


An HTML attachment was scrubbed...
URL: http://mailman.srv.cs.cmu.edu/pipermail/teamtalk-developers/attachments/20071017/6535566d/attachment-0001.html
-------------- next part --------------

Property changes on: branches/mrmarge/PocketTeamTalk/Resources/DecoderConfig/LanguageModel
___________________________________________________________________
Name: svn:ignore
   - TeamTalkLM.arpa

   + TeamTalk.arpa
TeamTalk.ctl
TeamTalk.probdef


Deleted: branches/mrmarge/PocketTeamTalk/Resources/DecoderConfig/LanguageModel/zap2.ctl
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/DecoderConfig/LanguageModel/zap2.ctl	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/DecoderConfig/LanguageModel/zap2.ctl	2007-10-18 03:17:53 UTC (rev 845)
@@ -1,12 +0,0 @@
-{ LanguageModel/zap2.def }
-LanguageModel/zap2.arpa general {
-[USERNAME]
-[HOUR]
-[NUMBER]
-[DAY]
-[MONTH]
-[DAYORDINAL]
-[ROOMNUMBER]
-[ROOMLOCATION]
-[AMPM]
-}

Deleted: branches/mrmarge/PocketTeamTalk/Resources/DecoderConfig/LanguageModel/zap2.def
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/DecoderConfig/LanguageModel/zap2.def	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/DecoderConfig/LanguageModel/zap2.def	2007-10-18 03:17:53 UTC (rev 845)
@@ -1,155 +0,0 @@
-LMCLASS [USERNAME]
-ALEX_RUDNICKY
-DAN_BOHUS
-JUNE_SISON
-YITAO_SUN
-CECILY_HEINER
-THOMAS_HARRIS
-ANTOINE_RAUX
-CHRIS_COLOHAN
-GUEST
-RIDY_LIE
-END [USERNAME]
-
-LMCLASS [HOUR]
-ONE:h
-TWO
-THREE
-FOUR
-FIVE
-SIX
-SEVEN
-EIGHT
-NINE
-TEN
-ELEVEN
-TWELVE
-NOON
-END [HOUR]
-
-LMCLASS [NUMBER]
-ONE:n
-TWO:n
-THREE:n
-FOUR:n
-FIVE:n
-SIX:n
-SEVEN:n
-EIGHT:n
-NINE:n
-TEN:n
-END [NUMBER]
-
-LMCLASS [DAY]
-MONDAY
-TUESDAY
-WEDNESDAY
-THURSDAY
-FRIDAY
-SATURDAY
-SUNDAY
-TODAY
-TOMORROW
-END [DAY]
-
-LMCLASS [MONTH]
-JANUARY
-FEBRUARY
-MARCH
-APRIL
-MAY:m
-JUNE
-JULY
-AUGUST
-SEPTEMBER
-OCTOBER
-NOVEMBER
-DECEMBER
-END [MONTH]
-
-LMCLASS [DAYORDINAL]
-EIGHTEENTH
-EIGHTH
-ELEVENTH
-FIFTEENTH
-FIFTH
-FIRST:do
-FOURTEENTH
-FOURTH
-NINETEENTH
-NINTH
-SECOND
-SEVENTEENTH
-SEVENTH
-SIXTEENTH
-SIXTH
-TENTH
-THIRD
-THIRTEENTH
-THIRTIETH
-THIRTY_FIRST
-TWELFTH
-TWENTIETH
-TWENTY_EIGHTH
-TWENTY_FIFTH
-TWENTY_FIRST
-TWENTY_FOURTH
-TWENTY_NINTH
-TWENTY_SECOND
-TWENTY_SEVENTH
-TWENTY_SIXTH
-TWENTY_THIRD
-END [DAYORDINAL]
-
-LMCLASS [ROOMNUMBER]
-FORTY_SIX_TWENTY_THREE
-FOUR_SIX_TWO_THREE
-FORTY_SIX_TWENTY_FIVE
-FOUR_SIX_TWO_FIVE
-SEVENTY_TWO_TWENTY
-SEVEN_TWO_TWO_ZERO
-EIGHTY_TWO_TWENTY
-EIGHT_TWO_TWO_ZERO
-FORTY_SIX_THIRTY_TWO
-FOUR_SIX_THREE_TWO
-FORTY_FIVE_THIRTEEN
-FOUR_FIVE_ONE_THREE
-THIRTY_FIVE_OH_NINE
-THREE_FIVE_OH_NINE
-THREE_FIVE_ZERO_NINE
-FIFTEEN_OH_FIVE
-FIFTEEN_ZERO_FIVE
-ONE_FIVE_OH_FIVE
-ONE_FIVE_ZERO_FIVE
-FIFTEEN_OH_SEVEN
-FIFTEEN_ZERO_SEVEN
-ONE_FIVE_OH_SEVEN
-ONE_FIVE_ZERO_SEVEN
-TWENTY_FIVE_OH_SEVEN
-TWENTY_FIVE_ZERO_SEVEN
-TWO_FIVE_OH_SEVEN
-TWO_FIVE_ZERO_SEVEN
-THREE_THOUSAND_ONE
-THREE_ZERO_ZERO_ONE
-THREE_OH_OH_ONE
-THIRTY_THREE_OH_FIVE
-THIRTY_THREE_ZERO_FIVE
-THREE_THREE_OH_FIVE
-THREE_THREE_ZERO_FIVE
-THIRTY_FIVE_OH_ONE
-THIRTY_FIVE_ZERO_ONE
-THREE_FIVE_OH_ONE
-THREE_FIVE_ZERO_ONE
-END [ROOMNUMBER]
-
-LMCLASS [ROOMLOCATION]
-NEWELL_SIMON
-NEWELL_SIMON_HALL
-WEAN
-WEAN_HALL
-END [ROOMLOCATION]
-
-LMCLASS [AMPM]
-A_M
-P_M
-END [AMPM]
\ No newline at end of file

Deleted: branches/mrmarge/PocketTeamTalk/Resources/DecoderConfig/LanguageModel/zap2.probdef
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/DecoderConfig/LanguageModel/zap2.probdef	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/DecoderConfig/LanguageModel/zap2.probdef	2007-10-18 03:17:53 UTC (rev 845)
@@ -1,155 +0,0 @@
-LMCLASS [USERNAME]
-ALEX_RUDNICKY	0.05
-DAN_BOHUS	0.05
-JUNE_SISON	0.05
-YITAO_SUN	0.05
-CECILY_HEINER	0.05
-THOMAS_HARRIS	0.05
-ANTOINE_RAUX	0.05
-CHRIS_COLOHAN	0.05
-GUEST	0.55
-RIDY_LIE	0.05
-END [USERNAME]
-
-LMCLASS [HOUR]
-ONE:h	0.076
-TWO	0.076
-THREE	0.076
-FOUR	0.076
-FIVE	0.076
-SIX	0.076
-SEVEN	0.076
-EIGHT	0.076
-NINE	0.076
-TEN	0.076
-ELEVEN	0.076
-TWELVE	0.076
-NOON	0.076
-END [HOUR]
-
-LMCLASS [NUMBER]
-ONE:n	0.1
-TWO:n	0.1	
-THREE:n	0.1
-FOUR:n	0.1
-FIVE:n	0.1
-SIX:n	0.1
-SEVEN:n	0.1
-EIGHT:n	0.1
-NINE:n	0.1
-TEN:n	0.1
-END [NUMBER]
-
-LMCLASS [DAY]
-MONDAY	0.11
-TUESDAY	0.11	
-WEDNESDAY	0.11
-THURSDAY	0.11
-FRIDAY	0.11	
-SATURDAY	0.11	
-SUNDAY	0.11
-TODAY	0.11
-TOMORROW	0.11
-END [DAY]
-
-LMCLASS [MONTH]
-JANUARY	0.083
-FEBRUARY	0.083
-MARCH	0.083
-APRIL	0.083
-MAY:m	0.083
-JUNE	0.083
-JULY	0.083
-AUGUST	0.083
-SEPTEMBER	0.083
-OCTOBER	0.083
-NOVEMBER	0.083
-DECEMBER	0.083
-END [MONTH]
-
-LMCLASS [DAYORDINAL]
-EIGHTEENTH	0.032
-EIGHTH	0.032
-ELEVENTH	
-FIFTEENTH	0.032	
-FIFTH	0.032
-FIRST:do	0.032
-FOURTEENTH	0.032
-FOURTH	0.032
-NINETEENTH	0.032
-NINTH	0.032
-SECOND	0.032
-SEVENTEENTH	0.032
-SEVENTH	0.032
-SIXTEENTH	0.032
-SIXTH	0.032
-TENTH	0.032
-THIRD	0.032
-THIRTEENTH	0.032
-THIRTIETH	0.032
-THIRTY_FIRST	0.032
-TWELFTH	0.032
-TWENTIETH	0.032
-TWENTY_EIGHTH	0.032
-TWENTY_FIFTH	0.032
-TWENTY_FIRST	0.032
-TWENTY_FOURTH	0.032
-TWENTY_NINTH	0.032
-TWENTY_SECOND	0.032
-TWENTY_SEVENTH	0.032
-TWENTY_SIXTH	0.032
-TWENTY_THIRD	0.032
-END [DAYORDINAL]
-
-LMCLASS [ROOMNUMBER]
-FORTY_SIX_TWENTY_THREE	0.026
-FOUR_SIX_TWO_THREE	0.026
-FORTY_SIX_TWENTY_FIVE	0.026
-FOUR_SIX_TWO_FIVE	0.026
-SEVENTY_TWO_TWENTY	0.026
-SEVEN_TWO_TWO_ZERO	0.026
-EIGHTY_TWO_TWENTY	0.026
-EIGHT_TWO_TWO_ZERO	0.026
-FORTY_SIX_THIRTY_TWO	0.026
-FOUR_SIX_THREE_TWO	0.026
-FORTY_FIVE_THIRTEEN	0.026
-FOUR_FIVE_ONE_THREE	0.026
-THIRTY_FIVE_OH_NINE	0.026
-THREE_FIVE_OH_NINE	0.026
-THREE_FIVE_ZERO_NINE	0.026
-FIFTEEN_OH_FIVE	0.026
-FIFTEEN_ZERO_FIVE	0.026
-ONE_FIVE_OH_FIVE	0.026
-ONE_FIVE_ZERO_FIVE	0.026
-FIFTEEN_OH_SEVEN	0.026
-FIFTEEN_ZERO_SEVEN	0.026
-ONE_FIVE_OH_SEVEN	0.026
-ONE_FIVE_ZERO_SEVEN	0.026
-TWENTY_FIVE_OH_SEVEN	0.026
-TWENTY_FIVE_ZERO_SEVEN	0.026
-TWO_FIVE_OH_SEVEN	0.026
-TWO_FIVE_ZERO_SEVEN	0.026
-THREE_THOUSAND_ONE	0.026
-THREE_ZERO_ZERO_ONE	0.026
-THREE_OH_OH_ONE	0.026
-THIRTY_THREE_OH_FIVE	0.026
-THIRTY_THREE_ZERO_FIVE	0.026
-THREE_THREE_OH_FIVE	0.026
-THREE_THREE_ZERO_FIVE	0.026
-THIRTY_FIVE_OH_ONE	0.026
-THIRTY_FIVE_ZERO_ONE	0.026
-THREE_FIVE_OH_ONE	0.026
-THREE_FIVE_ZERO_ONE	0.026
-END [ROOMNUMBER]
-
-LMCLASS [ROOMLOCATION]
-NEWELL_SIMON	0.25
-NEWELL_SIMON_HALL	0.25
-WEAN	0.25
-WEAN_HALL	0.25
-END [ROOMLOCATION]
-
-LMCLASS [AMPM]
-A_M	0.5
-P_M	0.5
-END [AMPM]
\ No newline at end of file

Modified: branches/mrmarge/PocketTeamTalk/Resources/DecoderConfig/male-16khz.arg
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/DecoderConfig/male-16khz.arg	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/DecoderConfig/male-16khz.arg	2007-10-18 03:17:53 UTC (rev 845)
@@ -23,7 +23,7 @@
  -fwdflatbeam 1e-8
  -fwdflatnwbeam 3e-4
  -rescorelw 9.5
- -lmfn	LanguageModel\TeamTalkLM.arpa
+ -lmctlfn	LanguageModel\TeamTalk.ctl
  -dictfn     Dictionary\TeamTalk.dict.reduced_phoneset
  -ndictfn    Dictionary\noise.dict
  -phnfn      HMM-16khz.ss/phone


Property changes on: branches/mrmarge/PocketTeamTalk/Resources/Grammar
___________________________________________________________________
Name: svn:ignore
   - base.dic
forms
log
nets
TeamTalk.gra
TeamTalk.net
TeamTalkflat.gra
TeamTalkTask.gra
TeamTalkRobots

   + base.dic
forms
log
nets
TeamTalk.gra
TeamTalk.net
TeamTalk_flat.gra
TeamTalk_abs.gra
TeamTalkRobots
TeamTalk.corpus
TeamTalk.ctl
TeamTalk.probdef
TeamTalk.token
TeamTalk.words


Copied: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR (from rev 844, trunk/TeamTalk/Resources/Grammar/GRAMMAR)


Property changes on: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR
___________________________________________________________________
Name: svn:ignore
   + DynamicRobotName.class


Deleted: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-20.class
===================================================================
--- trunk/TeamTalk/Resources/Grammar/GRAMMAR/Number-20.class	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-20.class	2007-10-18 03:17:53 UTC (rev 845)
@@ -1,21 +0,0 @@
-	(zero)
-	(one)
-	(two)
-	(three)
-	(four)
-	(five)
-	(six)
-	(seven)
-	(eight)
-	(nine)
-	(ten)
-	(eleven)
-	(twelve)
-	(thirteen)
-	(fourteen)
-	(fifteen)
-	(sixteen)
-	(seventeen)
-	(eighteen)
-	(nineteen)
-	(twenty)

Copied: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-20.class (from rev 844, trunk/TeamTalk/Resources/Grammar/GRAMMAR/Number-20.class)
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-20.class	                        (rev 0)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-20.class	2007-10-18 03:17:53 UTC (rev 845)
@@ -0,0 +1,21 @@
+	(zero)
+	(one)
+	(two)
+	(three)
+	(four)
+	(five)
+	(six)
+	(seven)
+	(eight)
+	(nine)
+	(ten)
+	(eleven)
+	(twelve)
+	(thirteen)
+	(fourteen)
+	(fifteen)
+	(sixteen)
+	(seventeen)
+	(eighteen)
+	(nineteen)
+	(twenty)

Deleted: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-60-by5.class
===================================================================
--- trunk/TeamTalk/Resources/Grammar/GRAMMAR/Number-60-by5.class	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-60-by5.class	2007-10-18 03:17:53 UTC (rev 845)
@@ -1,12 +0,0 @@
-	(five)
-	(ten)
-	(fifteen)
-	(twenty)
-	(twenty five)
-	(thirty)
-	(thirty five)
-	(forty)
-	(forty five)
-	(fifty)
-	(fifty five)
-	(sixty)

Copied: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-60-by5.class (from rev 844, trunk/TeamTalk/Resources/Grammar/GRAMMAR/Number-60-by5.class)
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-60-by5.class	                        (rev 0)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-60-by5.class	2007-10-18 03:17:53 UTC (rev 845)
@@ -0,0 +1,12 @@
+	(five)
+	(ten)
+	(fifteen)
+	(twenty)
+	(twenty five)
+	(thirty)
+	(thirty five)
+	(forty)
+	(forty five)
+	(fifty)
+	(fifty five)
+	(sixty)

Deleted: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-80-by5.class
===================================================================
--- trunk/TeamTalk/Resources/Grammar/GRAMMAR/Number-80-by5.class	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-80-by5.class	2007-10-18 03:17:53 UTC (rev 845)
@@ -1,16 +0,0 @@
-	(five)
-	(ten)
-	(fifteen)
-	(twenty)
-	(twenty five)
-	(thirty)
-	(thirty five)
-	(forty)
-	(forty five)
-	(fifty)
-	(fifty five)
-	(sixty)
-	(sixty five)
-	(seventy)
-	(seventy five)
-	(eighty)

Copied: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-80-by5.class (from rev 844, trunk/TeamTalk/Resources/Grammar/GRAMMAR/Number-80-by5.class)
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-80-by5.class	                        (rev 0)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-80-by5.class	2007-10-18 03:17:53 UTC (rev 845)
@@ -0,0 +1,16 @@
+	(five)
+	(ten)
+	(fifteen)
+	(twenty)
+	(twenty five)
+	(thirty)
+	(thirty five)
+	(forty)
+	(forty five)
+	(fifty)
+	(fifty five)
+	(sixty)
+	(sixty five)
+	(seventy)
+	(seventy five)
+	(eighty)

Deleted: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-85-95-by5.class
===================================================================
--- trunk/TeamTalk/Resources/Grammar/GRAMMAR/Number-85-95-by5.class	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-85-95-by5.class	2007-10-18 03:17:53 UTC (rev 845)
@@ -1,4 +0,0 @@
-	(eighty)
-	(eighty five)
-	(ninety)
-	(ninety five)

Copied: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-85-95-by5.class (from rev 844, trunk/TeamTalk/Resources/Grammar/GRAMMAR/Number-85-95-by5.class)
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-85-95-by5.class	                        (rev 0)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-85-95-by5.class	2007-10-18 03:17:53 UTC (rev 845)
@@ -0,0 +1,4 @@
+	(eighty)
+	(eighty five)
+	(ninety)
+	(ninety five)

Deleted: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-95-by5.class
===================================================================
--- trunk/TeamTalk/Resources/Grammar/GRAMMAR/Number-95-by5.class	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-95-by5.class	2007-10-18 03:17:53 UTC (rev 845)
@@ -1,19 +0,0 @@
-	(five)
-	(ten)
-	(fifteen)
-	(twenty)
-	(twenty five)
-	(thirty)
-	(thirty five)
-	(forty)
-	(forty five)  #%%0.1%%  there are more likely?
-	(fifty)
-	(fifty five)
-	(sixty)
-	(sixty five)
-	(seventy)
-	(seventy five)
-	(eighty)
-	(eighty five)
-	(ninety) #%%0.1%%
-	(ninety five)

Copied: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-95-by5.class (from rev 844, trunk/TeamTalk/Resources/Grammar/GRAMMAR/Number-95-by5.class)
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-95-by5.class	                        (rev 0)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/Number-95-by5.class	2007-10-18 03:17:53 UTC (rev 845)
@@ -0,0 +1,19 @@
+	(five)
+	(ten)
+	(fifteen)
+	(twenty)
+	(twenty five)
+	(thirty)
+	(thirty five)
+	(forty)
+	(forty five)  #%%0.1%%  there are more likely?
+	(fifty)
+	(fifty five)
+	(sixty)
+	(sixty five)
+	(seventy)
+	(seventy five)
+	(eighty)
+	(eighty five)
+	(ninety) #%%0.1%%
+	(ninety five)

Deleted: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/TeamTalkTask.forms
===================================================================
--- trunk/TeamTalk/Resources/Grammar/GRAMMAR/TeamTalkTask.forms	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/TeamTalkTask.forms	2007-10-18 03:17:53 UTC (rev 845)
@@ -1,43 +0,0 @@
-###################################################################
-#
-# TeamTalk Grammar
-# 
-# Written by: June Sison
-#
-# This is the forms file corresponding to the phoenix grammar for 
-# the TeamTalk system
-#
-#
-# HISTORY -------------------------------------------------------
-#
-# [2005-09-21] (dbohus):    added cancel
-# [2005-09-21] (tk):        added yes/no
-# [2003-03-08] (sison):     started working on this
-#
-###################################################################
-
-FUNCTION: Commands
-    NETS:
-	[InvokePlay]
-	[ControlRobot]
-	[QueryRobot]
-	[MoveRobot]
-	[RespondYesNo]
-#	[HumanGoodbyeCommand]
-;
-
-FUNCTION: Features
-    NETS:
-	[AbsoluteDistance]
-	[TurnDirection]
-	[MoveDirection]
-;
-
-
-
-# these auxiliaries are defined in order to capture some parses like
-# next, this that, which o/w would parse as date-time
-#FUNCTION: Auxiliaries
-#    NETS:
-#	[__datetime_junk]
-#;
\ No newline at end of file

Copied: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/TeamTalkTask.forms (from rev 844, trunk/TeamTalk/Resources/Grammar/GRAMMAR/TeamTalkTask.forms)
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/TeamTalkTask.forms	                        (rev 0)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/TeamTalkTask.forms	2007-10-18 03:17:53 UTC (rev 845)
@@ -0,0 +1,43 @@
+###################################################################
+#
+# TeamTalk Grammar
+# 
+# Written by: June Sison
+#
+# This is the forms file corresponding to the phoenix grammar for 
+# the TeamTalk system
+#
+#
+# HISTORY -------------------------------------------------------
+#
+# [2005-09-21] (dbohus):    added cancel
+# [2005-09-21] (tk):        added yes/no
+# [2003-03-08] (sison):     started working on this
+#
+###################################################################
+
+FUNCTION: Commands
+    NETS:
+	[InvokePlay]
+	[ControlRobot]
+	[QueryRobot]
+	[MoveRobot]
+	[RespondYesNo]
+#	[HumanGoodbyeCommand]
+;
+
+FUNCTION: Features
+    NETS:
+	[AbsoluteDistance]
+	[TurnDirection]
+	[MoveDirection]
+;
+
+
+
+# these auxiliaries are defined in order to capture some parses like
+# next, this that, which o/w would parse as date-time
+#FUNCTION: Auxiliaries
+#    NETS:
+#	[__datetime_junk]
+#;
\ No newline at end of file

Deleted: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/TeamTalkTask.gra
===================================================================
--- trunk/TeamTalk/Resources/Grammar/GRAMMAR/TeamTalkTask.gra	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/TeamTalkTask.gra	2007-10-18 03:17:53 UTC (rev 845)
@@ -1,394 +0,0 @@
-###################################################################
-#
-# TEAMTALK   T A S K   G R A M M A R
-#
-# HISTORY: -------------------------------------------------------
-#
-# [2003-03-08] (sison):    started working on this
-#
-###################################################################
-
-[RobotName]
-	(everyone)
-	(%[DynamicRobotName]%)	# class stub
-;
-
-[OBJ-Robot]
-	([RobotName])
-;
-
-
-#########    Main Nets    ##############
-
-[InvokePlay]
-	([HumanExploreCommand])
-	([HumanSearchCommand])
-	([HumanFollowCommand])
-;
-
-[ControlRobot]
-	([HumanReportCommand])
-	([HumanPauseCommand])
-	([HumanContinueCommand])
-	([HumanHaltCommand])
-	([Cancel])
-;
-
-[QueryRobot]
-	([HumanLocationQuery])
-;
-
-[MoveRobot]
-	([HumanMoveCommand])
-	([HumanTurnCommand])
-	([MoveVectorRelative])
-#	([MoveVectorCardinal])
-	([MoveToGoal])
-;
-
-[RespondYesNo]
-	([Yes])
-	([No])
-;
-
-###########################################
-
-
-
-[HumanExploreCommand]
-	(explore *[MapLocation])
-;
-
-[HumanSearchCommand]
-	(search *[MapLocation])
-	(search [MoveDirection])
-;
-
-[HumanFollowCommand]
-	(*[RobotName] FOLLOW [OBJ-Robot])
-FOLLOW
-	(join)
-	(follow)
-	(find)
-;
-
-[HumanPauseCommand]
-	(*[RobotName] pause *task *here)
-;
-
-[HumanContinueCommand]
-	(*[RobotName] continue *task)
-;
-
-[HumanReportCommand]
-	(*[RobotName] report)
-	([RobotName])
-;
-
-[HumanLocationQuery]
-	(*[RobotName] where are you)
-	(*[RobotName] report location)
-;
-
-[HumanHaltCommand]
-	(*[RobotName] all stop)
-	(*[RobotName] stop immediately)
-;
-
-[Number-180-by5]
-	( %[Number-95-by5]% ) #%%0.53%%   # equalize the relative proportion
-	( HUNDRED ) #%%0.03%% # 1/36
-	( HUNDRED *and %[Number-80-by5]% ) #%%0.44%%
-HUNDRED
-	( a hundred ) 
-	( one hundred ) 
-;
-
-[Number-over180]
-	( HUNDRED *and %[Number-85-95-by5]% ) #%%0.08%%
-	( two hundred ) #%%0.03%%
-	( two hundred *and %[Number-95-by5]% ) #%%0.53%%
-	( three hundred ) #%%0.03%%
-	( three hundred *and %[Number-60-by5]% ) #%%0.33%%
-HUNDRED
-	( a hundred )
-	( one hundred ) 
-;
-
-[TurnDirection]
-	(*PREP SIDE *[AngularQualifier])
-	([AngularQualifier] *PREP *SIDE)
-	(around)
-SIDE
-	(right)
-	(left)
-PREP
-	(to the)
-	(to your)
-;
-
-[MoveDirection]
-	(*PREP SIDE)
-	(straight)
-	(forward)
-	(forwards)
-	(back)
-	(backward)
-	(backwards)
-SIDE
-	(left)
-	(right)
-PREP
-	(to the)
-	(to your)
-;
-
-[AngularQualifier]
-	([Number-180-by5] degrees) #%%0.667%%
-	([Number-over180] degrees) #%%0.333%%  # can do up to 360 deg's
-;
-
-
-[AbsoluteDistance]
-	(%[Number-20]% [Units])
-;
-
-[RelativeDistance]
-	([TeamTalkAll] *of the way)
-	([TeamTalkHalf] *of *the way)
-	([TeamTalkThird] of the way)
-	([TeamTalkTwoThird] of the way)
-	([TeamTalkOneQuarter] of the way)
-	([TeamTalkThreeQuarter] of the way)
-;
-
-[MapLocation]
-	(this space)
-	(the area)
-	(around *PLACE)
-	(PLACE)
-PLACE
-	(here)
-	(there)
-	(your location)
-;
-
-
-[TeamTalkAll]
-	(all)
-;
-
-[TeamTalkHalf]
-	(*MOD half)
-MOD
-	(one)
-	(a)
-;
-
-[TeamTalkThird]
-	(MOD third)
-MOD
-	(one)
-	(a)
-;
-
-[TeamTalkTwoThird]
-	(two third)
-	(two thirds)
-;
-
-[TeamTalkOneQuarter]
-	(one quarter)
-	(one fourth)
-	(a quarter)
-	(a fourth)
-;
-
-
-[TeamTalkThreeQuarter]
-	(three quarter)
-	(three quarters)
-	(three fourth)
-	(three fourths)
-;
-
-[HumanMoveCommand]
-#	([MoveVectorCardinal])
-	([MoveVectorRelative])
-	([MoveToGoal])
-;
-
-[Join]
-	(*[RobotName] join [RobotName])
-;
-
-#[MoveVectorCardinal]
-#	(*[RobotName] MOVE *[CardinalDirection] [AbsoluteDistance])
-#	(*[RobotName] MOVE [CardinalDirection])
-#
-#MOVE
-#	(move)
-#	(go)
-#;
-
-[MoveVectorRelative]
-	(*[RobotName] MOVE *[MoveDirection] [AbsoluteDistance])
-	(*[RobotName] MOVE *[AbsoluteDistance] [MoveDirection])
-MOVE
-	(move)
-	(go)
-	(drive)
-	(return)
-;
-
-[HumanTurnCommand]
-	(*[RobotName] TURN [TurnDirection])
-TURN
-	(turn)
-	(face)
-	(move)
-	(go)
-;
-[MoveToGoal]
-	(*[RobotName] MOVE *[RelativeDistance] PREP *[Side] [Goal])
-	(*[RobotName] MOVE [Home])
-MOVE
-	(move *to)
-	(go *to)
-	(drive *to)
-PREP
-	(toward)
-	(towards)
-	(to)
-	(down *to)
-	(down towards)
-	(up *to)
-	(up towards)
-;
-
-[Side]
-	(the_north_end_of)
-	(the_east_end_of)
-	(the_south_end_of)
-	(the_west_end_of)
-
-[Goal]
-	([Home])
-	([Xcoord] [Ycoord])
-;
-
-[Home]
-	(home)
-	(base)
-;
-
-[Xcoord]
-	(*NEG %[Number-20]%)
-NEG
-	(negative)
-	(minus)
-;
-
-[Ycoord]
-	(*NEG %[Number-20]%)
-NEG
-	(negative)
-	(minus)
-;
-
-[Units]
-	(metres)
-	(metre)
-#	(feet)
-#	(foot)
-#	(yards)
-#	(yard)
-;
-
-#[HumanGoodbyeCommand]
-#	(goodbye)
-#	(bye)
-#	(mission complete)
-#	(that's it)
-;
-
-
-
-
-###################################################################
-# YES/NO grammar
-###################################################################
-
-[Yes]
-	(YES *MOD)
-	(OKAY)
-	(WEAK_MOD)  #%%0.10%%    # weaks don't seem likely in this domain
-	(STRONG_MOD) #%%0.10%%
-YES
-	(yes)
-	(yeah)
-#	(yup)
-MOD
-	(STRONG_MOD)
-	(WEAK_MOD)
-STRONG_MOD
-	(absolutely)
-	(definitely)
-	(OKAY OKAY)
-WEAK_MOD
-	(why not)
-	(i think so)
-	(i guess so)
-OKAY
-	(okay)
-	(sure)
-	(of course)
-	(correct)
-	(perfect)
-	(great)
-	(acceptable)
-	(good *enough)
-#	(fine)
-#	(wonderful)
-#	(right)
-#	(alright)
-;
-
-[No]
-	(no *MOD)
-	(*no absolutely not)
-	(nope)
-	(nah)
-	(no way)
-	(*no i DONT)
-	(*no i DONT think so)
-	(nevermind)
-	(not really)
-	(negative)
-#	(nowhere)
-DONT
-	(don't)
-	(do not)
-MOD
-	(thanks)
-	(thank_you)     # should be a lexeme
-	(not really)
-	(it's not)
-	(i'm not)
-;
-
-
-###################################################################
-# CANCEL grammar
-###################################################################
-
-[Cancel]
-	(CANCEL *COMMAND)
-CANCEL
-	(abort)
-	(cancel)
-	(quit)
-COMMAND
-	(*that command)
-	(that)
-;
\ No newline at end of file

Copied: branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/TeamTalkTask.gra (from rev 844, trunk/TeamTalk/Resources/Grammar/GRAMMAR/TeamTalkTask.gra)
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/TeamTalkTask.gra	                        (rev 0)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/GRAMMAR/TeamTalkTask.gra	2007-10-18 03:17:53 UTC (rev 845)
@@ -0,0 +1,394 @@
+###################################################################
+#
+# TEAMTALK   T A S K   G R A M M A R
+#
+# HISTORY: -------------------------------------------------------
+#
+# [2003-03-08] (sison):    started working on this
+#
+###################################################################
+
+[RobotName]
+	(everyone)
+	(%[DynamicRobotName]%)	# class stub
+;
+
+[OBJ-Robot]
+	([RobotName])
+;
+
+
+#########    Main Nets    ##############
+
+[InvokePlay]
+	([HumanExploreCommand])
+	([HumanSearchCommand])
+	([HumanFollowCommand])
+;
+
+[ControlRobot]
+	([HumanReportCommand])
+	([HumanPauseCommand])
+	([HumanContinueCommand])
+	([HumanHaltCommand])
+	([Cancel])
+;
+
+[QueryRobot]
+	([HumanLocationQuery])
+;
+
+[MoveRobot]
+	([HumanMoveCommand])
+	([HumanTurnCommand])
+	([MoveVectorRelative])
+#	([MoveVectorCardinal])
+	([MoveToGoal])
+;
+
+[RespondYesNo]
+	([Yes])
+	([No])
+;
+
+###########################################
+
+
+
+[HumanExploreCommand]
+	(explore *[MapLocation])
+;
+
+[HumanSearchCommand]
+	(search *[MapLocation])
+	(search [MoveDirection])
+;
+
+[HumanFollowCommand]
+	(*[RobotName] FOLLOW [OBJ-Robot])
+FOLLOW
+	(join)
+	(follow)
+	(find)
+;
+
+[HumanPauseCommand]
+	(*[RobotName] pause *task *here)
+;
+
+[HumanContinueCommand]
+	(*[RobotName] continue *task)
+;
+
+[HumanReportCommand]
+	(*[RobotName] report)
+	([RobotName])
+;
+
+[HumanLocationQuery]
+	(*[RobotName] where are you)
+	(*[RobotName] report location)
+;
+
+[HumanHaltCommand]
+	(*[RobotName] all stop)
+	(*[RobotName] stop immediately)
+;
+
+[Number-180-by5]
+	( %[Number-95-by5]% ) #%%0.53%%   # equalize the relative proportion
+	( HUNDRED ) #%%0.03%% # 1/36
+	( HUNDRED *and %[Number-80-by5]% ) #%%0.44%%
+HUNDRED
+	( a hundred ) 
+	( one hundred ) 
+;
+
+[Number-over180]
+	( HUNDRED *and %[Number-85-95-by5]% ) #%%0.08%%
+	( two hundred ) #%%0.03%%
+	( two hundred *and %[Number-95-by5]% ) #%%0.53%%
+	( three hundred ) #%%0.03%%
+	( three hundred *and %[Number-60-by5]% ) #%%0.33%%
+HUNDRED
+	( a hundred )
+	( one hundred ) 
+;
+
+[TurnDirection]
+	(*PREP SIDE *[AngularQualifier])
+	([AngularQualifier] *PREP *SIDE)
+	(around)
+SIDE
+	(right)
+	(left)
+PREP
+	(to the)
+	(to your)
+;
+
+[MoveDirection]
+	(*PREP SIDE)
+	(straight)
+	(forward)
+	(forwards)
+	(back)
+	(backward)
+	(backwards)
+SIDE
+	(left)
+	(right)
+PREP
+	(to the)
+	(to your)
+;
+
+[AngularQualifier]
+	([Number-180-by5] degrees) #%%0.667%%
+	([Number-over180] degrees) #%%0.333%%  # can do up to 360 deg's
+;
+
+
+[AbsoluteDistance]
+	(%[Number-20]% [Units])
+;
+
+[RelativeDistance]
+	([TeamTalkAll] *of the way)
+	([TeamTalkHalf] *of *the way)
+	([TeamTalkThird] of the way)
+	([TeamTalkTwoThird] of the way)
+	([TeamTalkOneQuarter] of the way)
+	([TeamTalkThreeQuarter] of the way)
+;
+
+[MapLocation]
+	(this space)
+	(the area)
+	(around *PLACE)
+	(PLACE)
+PLACE
+	(here)
+	(there)
+	(your location)
+;
+
+
+[TeamTalkAll]
+	(all)
+;
+
+[TeamTalkHalf]
+	(*MOD half)
+MOD
+	(one)
+	(a)
+;
+
+[TeamTalkThird]
+	(MOD third)
+MOD
+	(one)
+	(a)
+;
+
+[TeamTalkTwoThird]
+	(two third)
+	(two thirds)
+;
+
+[TeamTalkOneQuarter]
+	(one quarter)
+	(one fourth)
+	(a quarter)
+	(a fourth)
+;
+
+
+[TeamTalkThreeQuarter]
+	(three quarter)
+	(three quarters)
+	(three fourth)
+	(three fourths)
+;
+
+[HumanMoveCommand]
+#	([MoveVectorCardinal])
+	([MoveVectorRelative])
+	([MoveToGoal])
+;
+
+[Join]
+	(*[RobotName] join [RobotName])
+;
+
+#[MoveVectorCardinal]
+#	(*[RobotName] MOVE *[CardinalDirection] [AbsoluteDistance])
+#	(*[RobotName] MOVE [CardinalDirection])
+#
+#MOVE
+#	(move)
+#	(go)
+#;
+
+[MoveVectorRelative]
+	(*[RobotName] MOVE *[MoveDirection] [AbsoluteDistance])
+	(*[RobotName] MOVE *[AbsoluteDistance] [MoveDirection])
+MOVE
+	(move)
+	(go)
+	(drive)
+	(return)
+;
+
+[HumanTurnCommand]
+	(*[RobotName] TURN [TurnDirection])
+TURN
+	(turn)
+	(face)
+	(move)
+	(go)
+;
+[MoveToGoal]
+	(*[RobotName] MOVE *[RelativeDistance] PREP *[Side] [Goal])
+	(*[RobotName] MOVE [Home])
+MOVE
+	(move *to)
+	(go *to)
+	(drive *to)
+PREP
+	(toward)
+	(towards)
+	(to)
+	(down *to)
+	(down towards)
+	(up *to)
+	(up towards)
+;
+
+[Side]
+	(the_north_end_of)
+	(the_east_end_of)
+	(the_south_end_of)
+	(the_west_end_of)
+
+[Goal]
+	([Home])
+	([Xcoord] [Ycoord])
+;
+
+[Home]
+	(home)
+	(base)
+;
+
+[Xcoord]
+	(*NEG %[Number-20]%)
+NEG
+	(negative)
+	(minus)
+;
+
+[Ycoord]
+	(*NEG %[Number-20]%)
+NEG
+	(negative)
+	(minus)
+;
+
+[Units]
+	(metres)
+	(metre)
+#	(feet)
+#	(foot)
+#	(yards)
+#	(yard)
+;
+
+#[HumanGoodbyeCommand]
+#	(goodbye)
+#	(bye)
+#	(mission complete)
+#	(that's it)
+;
+
+
+
+
+###################################################################
+# YES/NO grammar
+###################################################################
+
+[Yes]
+	(YES *MOD)
+	(OKAY)
+	(WEAK_MOD)  #%%0.10%%    # weaks don't seem likely in this domain
+	(STRONG_MOD) #%%0.10%%
+YES
+	(yes)
+	(yeah)
+#	(yup)
+MOD
+	(STRONG_MOD)
+	(WEAK_MOD)
+STRONG_MOD
+	(absolutely)
+	(definitely)
+	(OKAY OKAY)
+WEAK_MOD
+	(why not)
+	(i think so)
+	(i guess so)
+OKAY
+	(okay)
+	(sure)
+	(of course)
+	(correct)
+	(perfect)
+	(great)
+	(acceptable)
+	(good *enough)
+#	(fine)
+#	(wonderful)
+#	(right)
+#	(alright)
+;
+
+[No]
+	(no *MOD)
+	(*no absolutely not)
+	(nope)
+	(nah)
+	(no way)
+	(*no i DONT)
+	(*no i DONT think so)
+	(nevermind)
+	(not really)
+	(negative)
+#	(nowhere)
+DONT
+	(don't)
+	(do not)
+MOD
+	(thanks)
+	(thank_you)     # should be a lexeme
+	(not really)
+	(it's not)
+	(i'm not)
+;
+
+
+###################################################################
+# CANCEL grammar
+###################################################################
+
+[Cancel]
+	(CANCEL *COMMAND)
+CANCEL
+	(abort)
+	(cancel)
+	(quit)
+COMMAND
+	(*that command)
+	(that)
+;
\ No newline at end of file

Deleted: branches/mrmarge/PocketTeamTalk/Resources/Grammar/Generic.forms
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/Grammar/Generic.forms	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/Generic.forms	2007-10-18 03:17:53 UTC (rev 845)
@@ -1,54 +0,0 @@
-###################################################################
-# GENERIC, TASK-INDEPENDENT SLOTS
-# 
-# Written by: Dan Bohus, May 2002
-# Checked/Updated by: Tina Bennett, May 2002
-#
-# This is the forms file corresponding to the phoenix grammar for 
-# common task-independ constructs (Generic.gra) that we are likely 
-# to use in most of the future developed spoken dialog systems. 
-#
-# HISTORY -------------------------------------------------------
-#
-# [2002-12-03] (dbohus):    set DateTime as non top-level slot,
-#                           renamed date_time (so it no longer
-#                           appears in the forms)
-# [2002-11-26] (antoine):   set TimeRange and Date as non-top level
-#			    slots renamed time_range and date
-# [2002-10-14] (dbohus):    Added [Number], by taking it from 
-#                           Communicator (erased the old one)
-# [2002-09-11] (dbohus):    added [Digit] and [Number], but will 
-#                           need to update with all the number
-#                           grammar from Communicator
-#
-###################################################################
-
-FUNCTION: Social
-    NETS: 
-        [_i_want]
-	[_greeting]
-	[_can_you]	
-	[_lets]
-	[_courtesy]
-	[_emphatic]
-	[_tentative]
-;
-
-FUNCTION: GenericDialogMechanisms
-    NETS:
-	[Help]
-	[Repeat]
-	[Suspend]
-	[Resume]
-	[StartOver]
-	[EstablishContext]
-	[GoodEnough]
-	[Quit]
-;
-
-FUNCTION: YesNo
-    NETS:
-	[Neither]
-	[Yes]
-	[No]
-;

Deleted: branches/mrmarge/PocketTeamTalk/Resources/Grammar/Generic.gra
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/Grammar/Generic.gra	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/Generic.gra	2007-10-18 03:17:53 UTC (rev 845)
@@ -1,1715 +0,0 @@
-###################################################################
-# GENERIC, TASK-INDEPENDENT SLOTS
-# 
-# Written by: Dan Bohus, May 2002
-# Checked/Updated by: Tina Bennett, May 2002
-#
-# This is a phoenix grammar for common task-independ constructs
-# that we are likely to use in most of the future developed 
-# spoken dialog systems. Its starting point were the task
-# independent constructs in the CMU Communicator grammar.
-#
-#
-# HISTORY: -------------------------------------------------------
-#
-# [2004-07-06] (dbohus):    added a number of things to improve
-#                            coverage (based on an analysis of
-#                            parsing statistics for the roomline
-#                            corpus on sprocket)
-# [2002-04-04] (dbohus):    added (i'll take) to [_i_want]
-# [2002-12-20] (antoine):   changed ([time_range] *[date] 
-#				*[period_of_day]) into two 
-#				separate rules to reduce ambiguity:
-#				([time_range] [period_of_day]) 
-#				is no longer possible, the period 
-#				of day is always parsed inside the 
-#				time_range.
-# [2002-12-03] (dbohus):    demoted [DateTime] to [date_time] which
-#                           is no longer a top-level slot
-# [2002-11-26] (antoine):   added an optional [period_of_day] after
-#				([time_range] *[date]) to account for
-#				e.g. "six thirty tomorrow morning"
-# [2002-11-26] (antoine):   set TimeRange, Date, Number as non-top 
-#	       (dbohus):    level slots renamed time_range, date,
-#				number
-# [2002-10-18] (dbohus):    Added [DateTime], by taking it from 
-#                           Communicator (and cleaning it a bit)
-# [2002-10-14] (dbohus):    Added [Number], by taking it from 
-#                           Communicator (erased the old one)
-# [2002-09-11] (dbohus):    added [Digit] and [Number], but will 
-#                           need to update with all the number
-#                           grammar from Communicator
-#
-###################################################################
-
-###################################################################
-# Social plus this that, etc
-###################################################################
-
-[_greeting]
-	(hello)
-	(hi *there)
-	(good morning)
-	(good afternoon)
-	(good evening)
-;
-
-[_can_you]
-	(could you *also *[_courtesy])
-	(can you *also *[_courtesy])
-	(will you *also *[_courtesy])
-	(can we *also *[_courtesy])
-	(would you *also *[_courtesy])
-;
-
-[_can_i]
-	(could i *also *[_courtesy])
-	(can i *also *[_courtesy])
-;
-
-[_tell_me]
-	(*[_can_you] tell me *about)
-	(how about)
-;
-
-[_courtesy]
-	(please)
-	(THANK *MUCH)
-	(*YOU welcome)
-
-THANK
-	(thanks)
-	(thank you)
-MUCH
-	(*very much)
-	(a lot)
-YOU
-	(you are)
-	(you're)
-;
-
-[_it]
-	(it)
-	(this *one)
-	(that *one)
-;
-
-[_lets]
-	(let's *say)
-	(let us *say)
-;
-
-[_that_is]
-	(that's)
-	(that is)
-	(that'll)
-	(that'd)
-	(that was)
-	(it is)
-	(it's)
-;
-
-[_this_that]
-	([_this])
-	([_that])
-;
-
-[_that] 
-	(that *one)
-	(it)
-;
-
-[_this]
-	(this *one)
-	(the)
-	(it)
-;
-
-[_emphatic]
-	(i *already SAID)
-	(*are you sure)
-	(actually)
-SAID
-	(said)
-	(told you)
-;
-
-[_tentative]
-	(i guess)
-	(i think)
-	(i believe)
-;
-
-[_it_does]
-	(it does)
-	(it did)
-;
-
-[_i_want]
-	(i *just *will *also want *TO_HAVE)
-	(i *just *will *also need *TO_HAVE)
-	(i *just *also wanna)
-	(i *just *also wanted *TO_HAVE)
-	(i'd like *TO_HAVE)
-	(i would like *TO_HAVE)
-	(i'd prefer *TO_HAVE)
-	(i would prefer *TO_HAVE)
-	(give me)
-	(CAN i *also get)
-	(CAN i *also have)
-	(CAN i *also take)
-	(i'll *also take)
-	(i'll *also have)
-	(i *just have to)
-	(i *just had to)
-	(i must)
-	(how about)
-	(what about)
-	(do you have)
-CAN
-	(can)
-	(could)
-TO_HAVE
-	(to *also *have)
-	(to *also *get)
-	(to *also *know)
-;
-
-
-###################################################################
-# HELP GRAMMAR
-###################################################################
-[Help]
-	(*[_i_want] [general_help])
-	(*[_tell_me] [what_can_i_say] *now)
-	(*[_i_want] [give_me_tips])
-	([system_capabilities])
-;
-
-[general_help]
-	(*[_i_want] *some help)
-	(*[_can_you] help me)
-	(customer service)
-	(interactive info)
-	(interactive information)
-
-[what_can_i_say]
-	(what CAN i DO_SAY)
-	(*what *are *THE options)
-	(*[_i_want] *some instructions)
-	(*[_i_want] an example)
-	(i don't know what to DO_SAY)
-	(i don't know what i CAN DO_SAY)
-CAN
-	(can)
-	(should)
-	(could)
-	(do)
-DO_SAY
-	(do)
-	(say)
-THE
-	(the)
-	(my)
-;
-
-[give_me_tips]
-	(*[_tell_me] how *[_can_i] *to use the system)
-	(*[_tell_me] how things work)
-	(*some *more TIPS)
-	(more help)
-TIPS
-	(*INTERACTION hints)
-	(*INTERACTION tips)
-	(*INTERACTION commands)
-INTERACTION
-	(system)
-	(interaction)
-	(communication)
-;
-
-[system_capabilities]
-	(*[_tell_me] what *else can you do)
-	(*[_tell_me] what *else do you offer)
-	(*[_tell_me] who are you)
-	(*[_tell_me] what *else do you do)
-	(*[_tell_me] how *else can you help *me)
-;
-
-###################################################################
-# REPEAT GRAMMAR
-###################################################################
-
-[Repeat]
-	(*sorry REPEAT *[_courtesy])
-	(excuse me)
-	(*i *beg *your pardon)
-	(pardon me)
-	(*sorry what was that *again)
-	(*sorry what's that *again)
-	(*sorry WHATD you *just say)
-	(<s> what </s>)
-	(*sorry i didn't HEAR YOU)
-	
-WHATD
-	(what did)
-	(what'd)
-
-REPEAT
-	(repeat the question *again)
-	(repeat *[_it])
-	(say [_it] *again)
-	(say again)
-HEAR
-	(hear)
-	(understand)
-	(catch)
-
-YOU
-	(you)
-	(that)
-	(it)
-	(what you said)
-;
-
-###################################################################
-# SUSPEND/RESUME GRAMMAR
-###################################################################
-
-[Suspend] 
-	(*[_lets] TAKE_A_BREAK *FOR_TIME *[_courtesy])
-	(*[_courtesy] *[_can_you] HOLD_ON *FOR_TIME *[_courtesy])
-	(*[_courtesy] *[_can_you] TAKE_A_BREAK *FOR_TIME *[_courtesy])
-HOLD_ON
-	(hold on *[_courtesy])
-	(stand by *[_courtesy])
-TAKE_A_BREAK
-	(take a *SHORT break)
-	(have a *SHORT break)
-	(break *[_this] ACTIVITY)
-	(pause *[_this] ACTIVITY)
-	(hold on)
-	(suspend *[_this] *ACTIVITY)
-ACTIVITY
-	(activity)
-	(dialog)
-	(dialogue)
-	(conversation)
-	(session)
-SHORT
-	(short)
-	(quick)
-	(small)
-	(little)
-FOR_TIME
-	(*for a while)
-	(*for now)
-	(*for a second)
-	(*for a minute)
-	(*for a couple of minutes)
-;
-
-[Resume]
-	(*[_courtesy] resume *[_this] *ACTIVITY *[_courtesy])
-
-ACTIVITY
-	(activity)
-	(dialog)
-	(dialogue)
-	(conversation)
-	(session)
-;
-
-###################################################################
-# START-OVER GRAMMAR
-###################################################################
-
-[StartOver]	
-	(restart *IT)
-	(reset *IT)
-	(start *IT *all OVER)
-	(start from the *very BEGINNING)
-	(go back to the BEGINNING)
-	(START from scratch)
-	(main menu)
-
-IT
-	([_it])
-	(*[_this] ACTIVITY)
-	(*[_this] system)
-
-ACTIVITY
-	(activity)
-	(dialog)
-	(dialogue)
-	(session)
-	(conversation)
-
-OVER
-	(again)
-	(over)
-
-BEGINNING
-	(beginning)
-	(start)
-
-START
-	(start)
-	(restart)
-;
-
-
-###################################################################
-# ESTABLISH CONTEXT GRAMMAR
-###################################################################
-
-[EstablishContext]
-	(where are we)
-	(where am i)
-	(what's going on)
-	(what are we doing)
-	(what am i doing)
-	(what is happening)
-	(where were we)
-	(where was i)
-;
-
-###################################################################
-# GOOD ENOUGH GRAMMAR
-###################################################################
-[GoodEnough]
-	(*[_that_is] *good enough)
-;
-
-###################################################################
-# QUIT GRAMMAR
-###################################################################
-
-[Quit]
-	(*good bye)
-	(goodbye)
-	(byebye)
-	(bye bye)
-	(hang up *now)
-	(see you later)
-	(that's all)
-	(have a good day)
-	(good night)
-	(goodnight)
-	(quit)
-	(<s> *[_i_want] abort *SESSION *[_courtesy] </s>)
-	(<s> *[_i_want] exit *SESSION *[_courtesy] </s>)
-	(<s> *[_i_want] quit *SESSION *[_courtesy] </s>)
-
-SESSION
-	(*[_this] dialog)
-	(*[_this] dialogue)
-	(*[_this] session)
-	(*[_this] conversation)
-	(*[_this] system)
-;
-
-
-###################################################################
-# NEITHER grammar
-###################################################################
-[Neither]
-	(*[_i_want] NEITHER *one *OF_THOSE)
-	(NEITHER *one *OF_THOSE IS_GOOD)
-	(NO_WANT any *OF_THOSE)
-NEITHER
-	(neither)
-	(none)
-OF_THOSE
-	(of them)
-	(of these)
-	(of those)
-IS_GOOD
-	(is good)
-	(is right)
-NO_WANT
-	(i don't want)
-	(i don't like)
-;
-
-###################################################################
-# YES/NO grammar
-###################################################################
-
-[Yes]
-	(YES *MOD)
-	(STRONG_MOD)
-	(<s> OKAY </s>)
-	(<s> WEAK_MOD </s>)
-YES
-	(yes)
-	(yeah)
-	(yep)
-	(yup)
-MOD
-	(STRONG_MOD)
-	(WEAK_MOD)
-STRONG_MOD
-	(*[_that_is] *be OKAY)
-	([_this_that] sounds OKAY)
-	([_this_that] works)
-	(you betcha)
-	(*let's go for it)
-	(absolutely)
-	(definitely)
-	(<s> OKAY OKAY </s>)
-WEAK_MOD
-	(why not)
-	(i think so)
-	(i guess so)
-	(*[_that_is] close enough)
-OKAY
-	(sure)
-	(of course)
-	(ok)
-	(okay)
-	(correct)
-	(fine)
-	(perfect)
-	(great)
-	(wonderful)
-	(acceptable)
-	(good *enough)
-	(right)
-	(alright)
-	(cool)
-;
-
-[No]
-	(no *MOD)
-	([_emphatic] no)
-	(*no absolutely not)
-	(nope)
-	(nah)
-	(no way)
-	(*no i DONT)
-	(*no i DONT think so)
-	(*no i DONT like [_this_that])
-	(*no i DONT want [_this_that])
-	(never mind)
-	(nevermind)
-	(*no not really)
-	(nowhere)
-	(negative)
-DONT
-	(don't)
-	(do not)
-MOD
-	(thanks)
-	(thank you)
-	(not really)
-	(i *really don't want to)
-	(i *really don't want [_this_that])
-	(it's not)
-	(i'm not)
-	([_that_is] not what i want)
-	(*[_that_is] NO *GOOD)
-NO
-	(no)
-	(not)
-GOOD
-	(right)
-	(correct)
-	(good)
-	(okay)
-;
-
-
-###################################################################
-# NUMBERS GRAMMAR
-###################################################################
-
-# (dbohus): This is the numbers grammar, extracted from the 
-#           original Communicator grammar
-
-[number]
-	(one)
-	(THOU_HUND *AND_NUM)
-	(NUM)
-
-AND_NUM
-	(and AND_NUM_OPTS)
-
-AND_NUM_OPTS
-	(TEN *ONE'S)
-	(TEEN)
-	(ONE'S)
-
-THOU_HUND
-	(*THOU HUND)
-	(THOU)
-
-NUM
-	(*THOU *HUND *TEN ONE'S)
-	(*THOU *HUND TEEN)
-	(*THOU *HUND TEN)
-	(ONE ONE *ONE *ONE *ONE *ONE'S)
-	(ONE ONE *ONE *ONE *ONE *ONE *ONE *ONE *ONE *ONE'S)
-	(TEEN ONE *ONE'S)
-	(TEN_ONE ONE TEN_ONE ONE'S)
-	(TEN_ONE TEN *ONE'S)
-	(TEN_ONE TEEN)
-
-START_TEEN
-	(TEEN TEEN)
-	(TEEN TEN *ONE'S)
-
-TEN_ONE
-	(TEN)
-	(ONE)
-
-THOU
-	(*THOU_OPTS thousand)
-
-THOU_OPTS
-	(HUND)
-	(HUND_OPTS)
-
-HUND
-	(HUND_OPTS hundred)
-
-HUND_OPTS
-	(*TEN A_ONE)
-	(TEEN)
-	(TEN)
-
-A_ONE
-	(a)
-	(an)
-	(ONE)
-
-
-TEEN
-	(ten)
-	(eleven)
-	(twelve)
-	(thirteen)
-	(fourteen)
-	(fifteen)
-	(sixteen)
-	(seventeen)
-	(eighteen)
-	(nineteen)
-
-TEN
-	(twenty)
-	(thirty)
-	(forty)
-	(fifty)
-	(sixty)
-	(seventy)
-	(eighty)
-	(ninety)
-
-ONE'S
-	(ONE)
-	(POS)
-ONE'S-1
-	(ONE-1)
-	(POS)
-POS
-	(zero's)
-	(oh's)
-	(one's)
-	(two's)
-	(three's)
-	(four's)
-	(five's)
-	(six's)
-	(seven's)
-	(eight's)
-	(nine's)
-	(fourth)
-	(sixth)
-	(seventh)
-	(eighth)
-	(ninth)
-
-ONE
-	(one)
-	(ONE-1)
-ONE-1
-	(zero)
-	(oh)
-	(two)
-	(three)
-	(four)
-	(five)
-	(six)
-	(seven)
-	(eight)
-	(nine)
-;
-
-
-###################################################################
-# DATE-TIME GRAMMAR
-###################################################################
-
-###################################################################
-# DATE-TIME GRAMMAR
-###################################################################
-
-[date_time]
-	(DATE *[time_range] *[time_range])
-	([time_range] *DATE *[time_range])
-	([time_range] [time_range] *DATE)
-	([period_mod] DATE *[period_of_day])
-	(*[period_mod] [today_relative])
-	(*[time_range] *the NEXT [period_of_day])
-	(*[time_range] *the [date_relative] [time_range])
-	(that [day_of_week])
-	(that [time_range])
-	([time_range] is fine)
-DATE
-	([date] *[period_of_day])
-	([day_name])
-NEXT
-	([d_next])
-	([d_previous])
-;
-
-[date]
-	(*SELECTOR *ON *the MONTH_DAY *YEAR *[period_of_day])
-	(*a DAY_WEEK *OF_MONTH)
-	(*sometime [today_relative])
-	(*ON *the DATE_REL *OF_MONTH)
-	(*SOMETIME [date_relative])
-	(*sometime [date_relative] DAY)
-	([date_relative] [today_relative])
-	(*[date_relative] [holiday])
-SELECTOR
-	(DAY_WEEK)
-	(sometime)
-SOMETIME
-	(sometime)
-	([anyday])
-DATE_REL
-	([date_relative])
-	([day_ordinal] *of [date_relative])
-	([holiday])
-	([anyday])
-	([everyday])
-	(last day *of *[month_after])
-	([day_of_month] DAY *of *[month_after])
-	(the [day_ordinal])
-	([day_ordinal] AND [day_ordinal])
-AND
-	(and)
-	(or)
-MONTH_DAY
-	(*[month_name] the [day_ordinal])
-	([month_name] *the [day_ordinal])
-	([day_ordinal] *day *of [month_name])
-	([month_name] [day_number])
-	([day_number] [month_name])
-DAY
-	(day)
-	([day_of_week])
-DAY_WEEK
-	(*A *MOD_DAY *ON [day_of_week] *OF_WEEK *AT_TIME)
-YEAR
-	(*YR_PREP [year])
-YR_PREP
-	(*in the year)
-ON
-	(date)
-	(during)
-	(for)
-	(on *that)
-	(of)
-THE
-	(a)
-	(an)
-	(the)
-OF_MONTH
-	(*IN_OF *A [month_name])
-	(*IN_OF *A THIS_LAST month)
-	(of the month)
-MOD_DAY
-	([week_after])
-	(EACH)
-AT_TIME
-	(*at *the same time)
-OF_WEEK
-	(*IN_OF *A *this week)
-	(*IN_OF *A [date_relative])
-EACH
-	(any)
-	(each)
-	(every)
-A
-	(a)
-	(an)
-	(the)
-IN_OF
-	(in)
-	(of)
-THIS_LAST
-	(this)
-	(last)
-DAY
-	(day)
-	(date)
-	([day_name])
-;
-
-[day_of_month]
-	(first)
-	(second)
-	(third)
-	(fourth)
-	(fifth)
-;
-
-[everyday]
-	(EACH DAY *OF_WEEK)
-	(daily)
-	(dailies)
-	(everyday)
-	([each_day])
-EACH
-	(all)
-	(every)
-DAY
-	(day)
-	(days)
-OF_WEEK
-	(of *the week)
-;
-
-[each_day]
-	(EACH *of *the DAY *OF_WEEK)
-DAY
-	(day)
-	(days)
-	(date)
-	(dates)
-EACH
-	(*FOR each)
-	(ORDERED *BY)
-ORDERED
-	(order)
-	(ordered)
-	(sort)
-	(sorted)
-	(arrange)
-	(arranged)
-BY
-	(by)
-	(according *to)
-OF_WEEK
-	(of *the week)
-FOR
-	(for)
-	(on)
-;
-
-[anyday]
-	(*IN_ON *the *FIRST_LAST WEEK_MONTH *OF_MONTH)
-	(any DAY *OF_WEEK)
-DAY
-	(date)
-	(dates)
-	(day)
-	(days)
-OF_WEEK
-	(of *the week)
-FIRST_LAST
-	(first)
-	(previous)
-	(next)
-	(last)
-	(following)
-	(coming)
-WEEK_MONTH
-	(week)
-	(month)
-IN_ON
-	(in)
-	(on)
-OF_MONTH
-	(*IN_OF [month_name])
-	(*IN_OF THIS_NEXT month)
-IN_OF
-	(in)
-	(of)
-THIS_NEXT
-	(this)
-	(last)
-	(next)
-;
-
-[holiday]
-	([holiday_name])
-	([holiday_nameday])
-;
-
-[holiday_name]
-	(HOL *DAY)
-HOL
-	(christmas)
-	(easter)
-	(*the fourth of july)
-	(new year's *eve)
-	(new years *eve)
-	(new year *eve)
-	(thanksgiving)
-	(april fool's)
-	(halloween)
-DAY
-	(day)
-	(days)
-;
-
-[holiday_nameday]
-	(HOL_1 DAY)
-HOL_1
-	(independence)
-	(labor)
-	(memorial)
-	(st patrick's)
-	(valentine)
-	(st valentine's)
-	(groundhog)
-	(flag)
-	(united nations)
-	(veterans)
-	(martin luther king)
-	(presidents')
-	(armed forces)
-	(mothers')
-	(fathers')
-	(parent's)
-	(columbus)
-DAY
-	(day)
-	(days)
-;
-
-[date_relative]
-	(*ON *the NEXT)
-	(*THE day [day_after] *that)
-	(*THE day [day_prior] *that)
-	(ONE DAY [day_after] *that)
-	([week_after])
-	([week_prior])
-	([week_this])
-	([month_after])
-	([year_after])
-	([date_offset])
-ON
-	(on)
-	(for)
-THE
-	(a)
-	(the)
-NEXT
-	([d_this])
-	([d_same])
-	([d_next])
-	([d_previous])
-PREVIOUS
-	(previous)
-	(preceeding)
-	(prior)
-	(last)
-ONE
-	(one)
-	(two)
-	(three)
-	(four)
-	(five)
-	(six)
-	(seven)
-	(eight)
-	(nine)
-DAY
-	(day)
-	(days)
-;
-
-[d_this]
-	(this)
-;
-
-[d_same]
-	(*that same)
-;
-
-[d_next]
-	(next)
-	(following)
-	(coming)
-;
-
-[d_previous]
-	(previous)
-	(preceeding)
-	(prior)
-	(last)
-;
-
-[date_offset]
-	([day_offset])
-	([week_offset])
-;
-
-[day_offset]
-	([number] DAY OFFSET)
-	(in [number] DAY)
-DAY
-	(day)
-	(days)
-OFFSET
-	([days_after])
-	([days_prior])
-;
-
-[week_offset]
-	([weeks_after])
-;
-
-[weeks_after]
-	(in [number] weeks)
-	([number] weeks LATER)
-LATER
-	(later)
-	(after *that)
-;
-
-[days_after]
-	(later)
-	(after *that)
-	(from now)
-;
-
-[days_prior]
-	(before)
-	(prior to)
-	(earlier)
-;
-
-[month_after]
-	(NEXT month)
-NEXT
-	(next)
-	(coming)
-	(following)
-;
-
-[year_after]
-	(*of next year)
-;
-
-[week_this]
-	(this week)
-;
-
-[week_after]
-	(in ONE week)
-	(ONE week later)
-	(*the NEXT week)
-	(a week AFTER)
-	(after *about a week)
-	(the week after)
-	(ONE week from)
-ONE
-	(one)
-	(a)
-NEXT
-	(next)
-	(coming)
-	(following)
-AFTER
-	(after)
-	(afterwards)
-;
-
-[week_prior]
-	(THE week before *that)
-	(the LAST week)
-THE
-	(a)
-	(the)
-LAST
-	(last)
-	(previous)
-;
-
-[day_after]
-	(after)
-	(afterwards)
-	(from)
-;
-
-[day_prior]
-	(before)
-	(prior to)
-;
-
-[time_range]
-	([time_duration])
-	([time_spec])
-	(ANYTIME [after] *I_SAY [start_time] *DAY_PERIOD)
-	(START *at *I_SAY [start_time] *AND *[after])
-	(*at *I_SAY [start_time] AND [after])
-	(*ANYTIME BEFORE DAY_TIME)
-	(*END *at *I_SAY [end_time] AND [before])
-	(END *at *I_SAY [end_time])
-	(*START *at [start_time] TO [end_time])
-	(between [start_time] and [end_time])
-TO
-	(*going to)
-	(until)
-	(til)
-	(till)
-ANYTIME
-	(anytime)
-	(any time)
-	(any times)
-	(sometime)
-	(some time)
-	(some times)
-	(anything)
-DAY_TIME
-	(*[on_day] [end_time])
-	([end_time] *ON *THE [on_day] [period_of_day])
-DAY_PERIOD
-	(*ON *THE [on_day] [period_of_day])
-AND
-	(and *or)
-	(or)
-ON
-	(of)
-	(on)
-THE
-	(a)
-	(an)
-	(the)
-END
-	(end)
-	(ends)
-	(ending)
-START
-	(from *like)
-	(start)
-	(starts)
-	(starting)
-	(begin)
-	(begins)
-	(beginning)
-BEFORE
-	([before])
-	(until)
-	(til)
-	(till)
-	(by)
-I_SAY
-	(*I'D_WE SAY)
-I'D_WE
-	(i'd)
-	(we'd)
-	(*I_WE WILL_WOULD)
-	(I_WE)
-	(let's)
-	(let *us *me)
-I_WE
-	(i)
-	(we)
-	(you)
-WILL_WOULD
-	(will)
-	(would)
-SAY
-	(say)
-	(said)
-;
-
-[on_day]
-	([day_of_week] *DAY_MONTH_SPEC)
-	(DAY_MONTH_SPEC)
-DAY_MONTH_SPEC
-	([month_name] *the [day_ordinal] *YEAR)
-	(*the [day_ordinal] *of [month_name] *YEAR)
-	([month_name] [day_number])
-	([day_number] [month_name])
-YEAR
-	(*YR_PREP [year])
-YR_PREP
-	(*in the year)
-;
-
-[year]
-	(*nineteen DECADE *ONE)
-	(two thousand *and *ONE)
-	(twenty oh ONE)
-DECADE
-	(seventy)
-	(eighty)
-	(ninety)
-ONE
-	(one)
-	(two)
-	(three)
-	(four)
-	(five)
-	(six)
-	(seven)
-	(eight)
-	(nine)
-;
-
-[day_number]
-	(ONE)
-	(ten)
-	(TEEN)
-	(twenty)
-	(twenty ONE)
-	(thirty)
-	(thirty one)
-ONE
-	(one)
-	(two)
-	(three)
-	(four)
-	(five)
-	(six)
-	(seven)
-	(eight)
-	(nine)
-TEEN
-	(eleven)
-	(twelve)
-	(thirteen)
-	(fourteen)
-	(fifteen)
-	(sixteen)
-	(seventeen)
-	(eighteen)
-	(nineteen)
-;
-
-[day_ordinal]
-	(SMALL_ORD)
-	(tenth)
-	(TEEN_ORD)
-	(twentieth)
-	(twenty SMALL_ORD)
-	(thirtieth)
-	(thirty first)
-SMALL_ORD
-	(first)
-	(second)
-	(third)
-	(fourth)
-	(fifth)
-	(sixth)
-	(seventh)
-	(eighth)
-	(ninth)
-TEEN_ORD
-	(eleventh)
-	(twelfth)
-	(thirteenth)
-	(fourteenth)
-	(fifteenth)
-	(sixteenth)
-	(seventeenth)
-	(eighteenth)
-	(nineteenth)
-;
-
-[month_name]
-	(*THE_MONTH NAME)
-NAME
-	(january)
-	(february)
-	(march)
-	(april)
-	(may)
-	(june)
-	(july)
-	(august)
-	(september)
-	(october)
-	(november)
-	(december)
-THE_MONTH
-	(*the month *of)
-;
-
-[start_time]
-	([time_spec])
-;
-
-[end_time]
-	([time_spec])
-;
-
-[time_spec]
-	(*at [time])
-	([time_of_day])
-	([aprox_time])
-	([time_relative])
-	([time_duration])
-;
-
-[aprox_time]
-	(*at APPROX [time] *AS_POSS)
-	(APPROX [time_of_day])
-APPROX
-	(*JUST AROUND_ABOUT)
-	(*SOMETIME AROUND_ABOUT)
-	(one AROUND_ABOUT)
-	(*as CLOSE *to)
-	(*at approximately)
-	(in *the vicinity *of)
-AROUND_ABOUT
-	(around)
-	(round)
-	(about)
-	(bout)
-CLOSE
-	(close)
-	(closest)
-	(closer)
-	(near)
-	(nearer)
-	(nearest)
-SOMETIME
-	(sometime)
-	(somewhere)
-AS_POSS
-	(*as possible)
-JUST
-	(just)
-	(*I'D_WE SAY)
-I'D_WE
-	(i'd)
-	(we'd)
-	(*I_WE WILL_WOULD)
-	(I_WE)
-	(let's)
-	(let *us *me)
-I_WE
-	(i)
-	(we)
-	(you)
-WILL_WOULD
-	(will)
-	(would)
-SAY
-	(say)
-	(said)
-;
-
-[time]
-	([hour] *MIN *[time_of_day])
-	([hour] o'clock  *[time_of_day])
-	(*TIME_PERIOD BEFORE TIME *o'clock *[time_of_day])
-	([noon])
-	([midnight])
-	([twenty_four])
-TIME_PERIOD
-	([minute_rel] *MINUTE)
-	(*a [quarter])
-	(*a [half])
-BEFORE
-	([before])
-	([after])
-TIME
-	([hour] *MIN)
-	([noon])
-	([midnight])
-MIN
-	([minute])
-MINUTE
-	(minute)
-	(minutes)
-;
-
-[twenty_four]
-	(oh [hour] MIN *hours)
-	([hour] MIN hours)
-MIN
-	(hundred)
-	([minute])
-;
-
-[noon]
-	(*twelve noon)
-	(noontime)
-	(noon time)
-;
-
-[midnight]
-	(midnight)
-;
-
-[after]
-	(*JUST AFTER)
-JUST
-	(*at just)
-	(shortly)
-AFTER
-	(after)
-	(later than)
-	(afterwards)
-	(NOT BEFORE *that)
-	(past)
-BEFORE
-	(before)
-	(sooner *than)
-	(earlier *than)
-	(prior to)
-NOT
-	(not)
-	(no)
-;
-
-[before]
-	(*JUST before)
-	(sooner than)
-	(*JUST prior to)
-	(*JUST earlier than)
-	(not AFTER *that)
-	(NOT later than *that)
-JUST
-	(*at just)
-	(shortly)
-AFTER
-	(after)
-	(afterwards)
-	(past)
-NOT
-	(not)
-	(no)
-;
-
-
-[quarter]
-	(quarter)
-;
-
-[half]
-	(half)
-;
-
-[minute_rel]
-	([minute])
-;
-
-[minute]
-	(T_TEN *T_ONE)
-	(TEEN)
-	(ZERO T_ONE)
-T_ONE
-	(one)
-	(two)
-	(three)
-	(four)
-	(five)
-	(six)
-	(seven)
-	(eight)
-	(nine)
-T_TEN
-	(twenty)
-	(thirty)
-	(forty)
-	(fifty)
-TEEN
-	(ten)
-	(eleven)
-	(twelve)
-	(thirteen)
-	(fourteen)
-	(fifteen)
-	(sixteen)
-	(seventeen)
-	(eighteen)
-	(nineteen)
-ZERO
-	(zero)
-	(oh)
-;
-
-[time_of_day]
-	(*SOMETIME *[period_mod] *in *the *[period_mod] [period_of_day])
-
-SOMETIME
-	(sometime)
-	(some time)
-	(anytime)
-	(any time)
-;
-
-[hour]
-	(an)
-	(one)
-	(a couple of)
-	(two)
-	(three)
-	(four)
-	(five)
-	(six)
-	(seven)
-	(eight)
-	(nine)
-	(ten)
-	(eleven)
-	(twelve)
-	(noon)
-;
-
-[day_of_week]
-	([day_name])
-	([weekend])
-	([weekday])
-;
-
-[day_name]
-	(monday)
-	(tuesday)
-	(wednesday)
-	(thursday)
-	(friday)
-	(saturday)
-	(sunday)
-	(mondays)
-	(tuesdays)
-	(wednesdays)
-	(thursdays)
-	(fridays)
-	(saturdays)
-	(sundays)
-	(monday's)
-	(tuesday's)
-	(wednesday's)
-	(thursday's)
-	(friday's)
-	(saturday's)
-	(sunday's)
-;
-
-[weekend]
-	(weekend)
-	(weekends)
-;
-
-[weekday]
-	(MIDDLE *of *THE week)
-	(midweek)
-	(weekday)
-	(weekdays)
-	(MONDAY *AND TUESDAY *AND WEDNESDAY *AND THURSDAY *AND FRIDAY)
-
-THE
-	(a)
-	(the)
-
-MIDDLE
-	(mid)
-	(middle)
-
-MONDAY
-	(monday)
-	(mondays)
-
-TUESDAY
-	(tuesday)
-	(tuesdays)
-
-WEDNESDAY
-	(wednesday)
-	(wednesdays)
-
-THURSDAY
-	(thursday)
-	(thursdays)
-
-FRIDAY
-	(friday)
-	(fridays)
-
-AND
-	(and *or)
-	(or)
-;
-
-[today_relative]
-	(today)
-	(today's)
-	(tonight)
-	(this [time_range])
-	(tomorrow)
-	(tomorrow's)
-	(yesterday)
-	(yesterday's)
-;
-
-[period_mod]
-	([early])
-	([late])
-	([mid])
-;
-
-[period_of_day]
-	([am])
-	([pm])
-	([morning])
-	([afternoon])
-	([evening])
-	([night])
-	([early_day])
-	([late_day])
-	([mid_day])
-	([anytime])
-;
-
-[am]
-	(a_m)
-	(a m)
-;
-
-[pm]
-	(p_m)
-	(pm)
-	(p m)
-;
-
-[morning]
-	(morning)
-	(mornings)
-;
-
-[afternoon]
-	(afternoon)
-	(after noon)
-	(afternoons)
-;
-
-[evening]
-	(evening)
-	(evenings)
-;
-
-[night]
-	(night)
-	(nights)
-;
-
-[early_day]
-	(early in the day)
-	(*in the early part of the day)
-	(*at *the beginning of the day)
-;
-
-[late_day]
-	(late in the day)
-	(late *in day)
-	(*at *the end of the day)
-;
-
-[mid_day]
-	(midday)
-	(mid day)
-	(*in *the middle *part of the day)
-;
-
-[anytime]
-	(any TIME)
-	(any_time)
-	(anytime)
-	(all TIME)
-	(regardless of time)
-
-TIME
-	(time)
-	(times)
-;
-
-[early]
-	(*MOD early)
-MOD
-	(very)
-	(real)
-	(really)
-;
-
-[late]
-	(*MOD late)
-MOD
-	(very)
-	(real)
-	(really)
-;
-
-[mid]
-	(mid)
-	(*in *the middle of the)
-;
-
-[time_relative]
-	([now])
-	([time_relative_before])
-	([time_relative_after])
-;
-
-[now]
-	(*right now)
-	(as soon as possible)
-	(immediately)
-	(right away)
-;
-
-[time_relative_before]
-	([duration] ago)
-;
-
-[time_relative_after]
-	(in [duration])
-;
-
-[duration]
-	([hour] hour *AND_MINUTES)
-	([hour] hours *AND_MINUTES)
-	([minute] minutes)
-AND_MINUTES
-	(*and [minute] *MINUTE)
-	(*and *a [d_quarter])
-	(*and *a [d_half])
-MINUTE
-	(minute)
-	(minutes)
-;
-
-[d_half]
-	(half)
-;
-
-[d_quarter]
-	(quarter)
-;
-
-[time_duration]
-	(*for *A_PERIOD_OF [duration])
-	(*for [whole_day])
-
-A_PERIOD_OF
-	(a period of)
-	(*just *around)
-	(about)
-	(approximately)
-;
-
-[whole_day]
-	(*the whole day)
-	(all day *long)
-;
\ No newline at end of file

Deleted: branches/mrmarge/PocketTeamTalk/Resources/Grammar/TeamTalkTask.forms
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/Grammar/TeamTalkTask.forms	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/TeamTalkTask.forms	2007-10-18 03:17:53 UTC (rev 845)
@@ -1,84 +0,0 @@
-###################################################################
-#
-# TeamTalk Grammar
-# 
-# Written by: June Sison
-#
-# This is the forms file corresponding to the phoenix grammar for 
-# the TeamTalk system
-#
-#
-# HISTORY -------------------------------------------------------
-#
-# [2005-09-21] (dbohus):    added cancel
-# [2005-09-21] (tk):        added yes/no
-# [2003-03-08] (sison):     started working on this
-#
-###################################################################
-
-FUNCTION: Commands
-    NETS:
-	[HumanReportCommand]
-	[HumanLocationQuery]
-	[HumanMoveCommand]
-#	[MoveVectorCardinal]
-	[MoveVectorRelative]
-	[MoveToGoal]
-	[HumanGoodbyeCommand]
-	[HumanTurnCommand]	
-	[HumanHaltCommand]
-	[HumanFollowCommand]
-	[HumanPauseCommand]
-	[HumanContinueCommand]
-	[HumanExploreCommand]
-	[HumanSearchCommand]
-;
-
-FUNCTION: Features
-    NETS:
-	[AbsoluteDistance]
-	[TurnDirection]
-	[MoveDirection]
-	[Units]
-;
-
-FUNCTION: YesNo
-    NETS:
-#	[Neither]
-	[Yes]
-	[No]
-;
-
-FUNCTION: Cancel
-    NETS:
-	[Cancel]
-;
-
-#FUNCTION: Queries
-#    NETS: 
-#	[QueryProjector]
-#	[QueryWhiteboard]
-#	[QueryComputer]
-#	[QueryNetworking]
-#	[QueryLocation]
-#	[QueryRoomSize]
-#	[QueryRoomSizeSpec]
-#	[QueryOtherRooms]
-#	[QueryRoomDetails]
-#;
-
-#FUNCTION: Responses
-#    NETS:
-#	[Indifferent]
-#	[Satisfied]
-#	[SomewhatSatisfied]
-#	[FirstOne]
-#	[SecondOne]
-#;
-
-# these auxiliaries are defined in order to capture some parses like
-# next, this that, which o/w would parse as date-time
-#FUNCTION: Auxiliaries
-#    NETS:
-#	[__datetime_junk]
-#;
\ No newline at end of file

Deleted: branches/mrmarge/PocketTeamTalk/Resources/Grammar/TeamTalkTask.gra
===================================================================
--- branches/mrmarge/PocketTeamTalk/Resources/Grammar/TeamTalkTask.gra	2007-10-18 02:35:42 UTC (rev 844)
+++ branches/mrmarge/PocketTeamTalk/Resources/Grammar/TeamTalkTask.gra	2007-10-18 03:17:53 UTC (rev 845)
@@ -1,368 +0,0 @@
-###################################################################
-#
-# TEAMTALK   T A S K   G R A M M A R
-#
-# HISTORY: -------------------------------------------------------
-#
-# [2003-03-08] (sison):    started working on this
-#
-###################################################################
-
-[RobotName]
-	(everyone)
-;
-
-[OBJ-Robot]
-	([RobotName])
-;
-
-[HumanExploreCommand]
-	(explore)
-;
-
-[HumanSearchCommand]
-	(search)
-;
-
-[HumanFollowCommand]
-	(*[RobotName] FOLLOW [OBJ-Robot])
-
-FOLLOW
-	(join)
-	(follow)
-	(find)
-;
-
-[HumanPauseCommand]
-	(*[RobotName] pause)
-;
-
-[HumanContinueCommand]
-	(*[RobotName] continue)
-;
-
-[HumanReportCommand]
-	(*[RobotName] report)
-	([RobotName])
-;
-
-[HumanLocationQuery]
-	(*[RobotName] where are you)
-;
-
-[HumanHaltCommand]
-	(*[RobotName] all stop)
-;
-
-[TurnDirection]
-	(right *[AngularQualifier])
-	(left *[AngularQualifier])
-	(around)
-;
-
-[MoveDirection]
-	(right *[AngularQualifier])
-	(left *[AngularQualifier])
-	(straight)
-	(forward)
-	(forwards)
-	(back)
-	(backward)
-	(backwards)
-;
-
-[AngularQualifier]
-	([Number-180-by5] degrees)
-;
-
-[Number-180-by5]
-	(five)
-	(ten)
-	(fifteen)
-	(twenty *five)
-	(thirty *five)
-	(forty *five)
-	(fifty *five)
-	(sixty *five)
-	(seventy *five)
-	(eighty *five)
-	(ninety *five)
-	(HUNDRED)
-	(HUNDRED *and five)
-	(HUNDRED *and ten)
-	(HUNDRED *and fifteen)
-	(HUNDRED *and twenty *five)
-	(HUNDRED *and thirty *five)
-	(HUNDRED *and fourty *five)
-	(HUNDRED *and fifty *five)
-	(HUNDRED *and sixty *five)
-	(HUNDRED *and seventy *five)
-	(HUNDRED *and eighty)
-
-HUNDRED
-	(a hundred)
-	(one hundred)
-;
-
-[AbsoluteDistance]
-	([Number-20] [Units])
-;
-
-[RelativeDistance]
-	([TeamTalkAll] *of the way)
-	([TeamTalkHalf] *of *the way)
-	([TeamTalkThird] of the way)
-	([TeamTalkTwoThird] of the way)
-	([TeamTalkOneQuarter] of the way)
-	([TeamTalkThreeQuarter] of the way)
-;
-
-[TeamTalkAll]
-	(all)
-;
-
-[TeamTalkHalf]
-	(halfway)
-	(one half)
-	(a half)
-	(half)
-;
-
-[TeamTalkThird]
-	(one third)
-	(a third)
-;
-
-[TeamTalkTwoThird]
-	(two third)
-	(two thirds)
-;
-
-[TeamTalkOneQuarter]
-	(one quarters)
-	(one quarter)
-	(one forth)
-	(a quarters)
-	(a quarter)
-	(a forth)
-;
-
-
-[TeamTalkThreeQuarter]
-	(three quarter)
-	(three quarters)
-	(three forth)
-	(three forths)
-;
-
-[HumanMoveCommand]
-#	([MoveVectorCardinal])
-	([MoveVectorRelative])
-	([MoveToGoal])
-;
-
-[Join]
-	(*[RobotName] join [RobotName])
-;
-
-#[MoveVectorCardinal]
-#	(*[RobotName] MOVE *[CardinalDirection] [AbsoluteDistance])
-#	(*[RobotName] MOVE [CardinalDirection])
-#
-#MOVE
-#	(move)
-#	(go)
-#;
-
-[MoveVectorRelative]
-	(*[RobotName] MOVE *[MoveDirection] [AbsoluteDistance])
-	(*[RobotName] MOVE *[AbsoluteDistance] [MoveDirection])
-
-MOVE
-	(move)
-	(go)
-	(drive)
-	(return)
-;
-
-[MoveToGoal]
-	(*[RobotName] MOVE *[RelativeDistance] PREP *[Side] [Goal])
-	(*[RobotName] MOVE [Home])
-	
-MOVE
-	(move)
-	(go)
-	(drive)
-
-PREP
-	(toward)
-	(towards)
-	(to)
-	(down *to)
-	(down towards)
-	(up *to)
-	(up towards)
-;
-
-[Side]
-	(the=north=end=of)
-	(the=east=end=of)
-	(the=south=end=of)
-	(the=west=end=of)
-
-[Goal]
-	([Home])
-	([Xcoord] [Ycoord])
-;
-
-[Home]
-	(home)
-;
-
-[Xcoord]
-	(*negative [Number-20])
-;
-
-[Ycoord]
-	(*negative [Number-20])
-;
-
-[Units]
-	(meters)
-	(meter)
-#	(feet)
-#	(foot)
-#	(yards)
-#	(yard)
-;
-
-[HumanGoodbyeCommand]
-	(goodbye)
-	(bye bye)
-	(mission complete)
-	(that's it)
-;
-
-[HumanTurnCommand]
-	(TURN [TurnDirection])
-
-TURN
-	(turn)
-	(face)
-;
-
-[Number-20]
-	(zero)
-	(one)
-	(two)
-	(three)
-	(four)
-	(five)
-	(six)
-	(seven)
-	(eight)
-	(nine)
-	(ten)
-	(eleven)
-	(twelve)
-	(thirteen)
-	(fourteen)
-	(fifteen)
-	(sixteen)
-	(seventeen)
-	(eighteen)
-	(nineteen)
-	(twenty)
-;
-
-###################################################################
-# YES/NO grammar
-###################################################################
-
-[Yes]
-	(YES *MOD)
-	(STRONG_MOD)
-	(OKAY)
-	(WEAK_MOD)
-YES
-	(yes)
-	(yeah)
-	(yep)
-	(yup)
-MOD
-	(STRONG_MOD)
-	(WEAK_MOD)
-STRONG_MOD
-	(you betcha)
-#tk hack: interferes with "go forward"	(*let's go for it)
-	(absolutely)
-	(definitely)
-	(OKAY OKAY)
-WEAK_MOD
-	(why not)
-	(i think so)
-	(i guess so)
-OKAY
-	(sure)
-	(of course)
-	(ok)
-	(okay)
-	(correct)
-	(fine)
-	(perfect)
-	(great)
-	(wonderful)
-	(acceptable)
-	(good *enough)
-	(right)
-	(alright)
-	(cool)
-;
-
-[No]
-	(no *MOD)
-	(*no absolutely not)
-	(nope)
-	(nah)
-	(no way)
-	(*no i DONT)
-	(*no i DONT think so)
-	(never mind)
-	(nevermind)
-	(*no not really)
-	(nowhere)
-	(negative)
-DONT
-	(don't)
-	(do not)
-MOD
-	(thanks)
-	(thank you)
-	(not really)
-	(i *really don't want to)
-	(it's not)
-	(i'm not)
-NO
-	(no)
-	(not)
-GOOD
-	(right)
-	(correct)
-	(good)
-	(okay)
-;
-
-
-###################################################################
-# CANCEL grammar
-###################################################################
-
-[Cancel]
-	(CANCEL *COMMAND)
-CANCEL
-	(cancel)
-	(quit)
-COMMAND
-	(*that command)
-	(that)
-;
\ No newline at end of file

Copied: branches/mrmarge/PocketTeamTalk/Resources/Grammar/bin (from rev 844, trunk/TeamTalk/Resources/Grammar/bin)

Deleted: branches/mrmarge/PocketTeamTalk/Resources/Grammar/bin/compile.exe
===================================================================
(Binary files differ)


@@ Diff output truncated at 60000 characters. @@


More information about the TeamTalk-developers mailing list