[TeamTalk 290]: [826] branches/air/Resources/Grammar: cleanup
air@edam.speech.cs.cmu.edu
air at edam.speech.cs.cmu.edu
Tue Oct 9 15:13:21 EDT 2007
An HTML attachment was scrubbed...
URL: http://mailman.srv.cs.cmu.edu/pipermail/teamtalk-developers/attachments/20071009/97710990/attachment-0001.html
-------------- next part --------------
Added: branches/air/Resources/Grammar/GRAMMAR/DynamicRobotName.class
===================================================================
--- branches/air/Resources/Grammar/GRAMMAR/DynamicRobotName.class (rev 0)
+++ branches/air/Resources/Grammar/GRAMMAR/DynamicRobotName.class 2007-10-09 19:13:21 UTC (rev 826)
@@ -0,0 +1,4 @@
+ (alphie)
+ (bashful)
+ (clyde)
+ (decker)
Deleted: branches/air/Resources/Grammar/Number-20.class
===================================================================
--- branches/air/Resources/Grammar/Number-20.class 2007-10-09 19:11:20 UTC (rev 825)
+++ branches/air/Resources/Grammar/Number-20.class 2007-10-09 19:13:21 UTC (rev 826)
@@ -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)
Deleted: branches/air/Resources/Grammar/Number-60-by5.class
===================================================================
--- branches/air/Resources/Grammar/Number-60-by5.class 2007-10-09 19:11:20 UTC (rev 825)
+++ branches/air/Resources/Grammar/Number-60-by5.class 2007-10-09 19:13:21 UTC (rev 826)
@@ -1,12 +0,0 @@
- (five)
- (ten)
- (fifteen)
- (twenty)
- (twenty five)
- (thirty)
- (thirty five)
- (forty)
- (forty five)
- (fifty)
- (fifty five)
- (sixty)
Deleted: branches/air/Resources/Grammar/Number-80-by5.class
===================================================================
--- branches/air/Resources/Grammar/Number-80-by5.class 2007-10-09 19:11:20 UTC (rev 825)
+++ branches/air/Resources/Grammar/Number-80-by5.class 2007-10-09 19:13:21 UTC (rev 826)
@@ -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)
Deleted: branches/air/Resources/Grammar/Number-85-95-by5.class
===================================================================
--- branches/air/Resources/Grammar/Number-85-95-by5.class 2007-10-09 19:11:20 UTC (rev 825)
+++ branches/air/Resources/Grammar/Number-85-95-by5.class 2007-10-09 19:13:21 UTC (rev 826)
@@ -1,4 +0,0 @@
- (eighty)
- (eighty five)
- (ninety)
- (ninety five)
Deleted: branches/air/Resources/Grammar/Number-95-by5.class
===================================================================
--- branches/air/Resources/Grammar/Number-95-by5.class 2007-10-09 19:11:20 UTC (rev 825)
+++ branches/air/Resources/Grammar/Number-95-by5.class 2007-10-09 19:13:21 UTC (rev 826)
@@ -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)
Deleted: branches/air/Resources/Grammar/TeamTalkTask.forms
===================================================================
--- branches/air/Resources/Grammar/TeamTalkTask.forms 2007-10-09 19:11:20 UTC (rev 825)
+++ branches/air/Resources/Grammar/TeamTalkTask.forms 2007-10-09 19:13:21 UTC (rev 826)
@@ -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
Deleted: branches/air/Resources/Grammar/TeamTalkTask.gra
===================================================================
--- branches/air/Resources/Grammar/TeamTalkTask.gra 2007-10-09 19:11:20 UTC (rev 825)
+++ branches/air/Resources/Grammar/TeamTalkTask.gra 2007-10-09 19:13:21 UTC (rev 826)
@@ -1,396 +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.54%% # equalize the relative proportion
- ( HUNDRED *and %[Number-80-by5]% ) #%%0.46%%
-HUNDRED
- ( a hundred )
- ( one hundred )
-;
-
-[Number-over180]
- (*one hundred *and %[Number-95-by5]%) #%%0.1%%
- (two hundred *and %[Number-95-by5]%) #%%0.5%%
- (three hundred *and %[Number-60-by5]%) #%%0.4%%
-;
-
-[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)
-#NO
-# (no)
-# (not)
-#GOOD
-# (right)
-# (correct)
-# (good)
-# (okay)
-;
-
-
-###################################################################
-# CANCEL grammar
-###################################################################
-
-[Cancel]
- (CANCEL *COMMAND)
-CANCEL
- (abort)
- (cancel)
- (quit)
-COMMAND
- (*that command)
- (that)
-;
\ No newline at end of file
Deleted: branches/air/Resources/Grammar/compile.exe
===================================================================
(Binary files differ)
Deleted: branches/air/Resources/Grammar/concept_leaf.exe
===================================================================
(Binary files differ)
Deleted: branches/air/Resources/Grammar/parse.exe
===================================================================
(Binary files differ)
Deleted: branches/air/Resources/Grammar/pqual.exe
===================================================================
(Binary files differ)
Deleted: branches/air/Resources/Grammar/train.exe
===================================================================
(Binary files differ)
More information about the TeamTalk-developers
mailing list