Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Speechrec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Matthias Johannes Sterz
Speechrec
Commits
7a7c68ae
Commit
7a7c68ae
authored
10 years ago
by
Leroy John Rügemer
Browse files
Options
Downloads
Patches
Plain Diff
gprs
parent
805c953a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ps-grammar/gprs/gprs.jsgf
+30
-30
30 additions, 30 deletions
ps-grammar/gprs/gprs.jsgf
with
30 additions
and
30 deletions
ps-grammar/gprs/gprs.jsgf
+
30
−
30
View file @
7a7c68ae
...
...
@@ -2,9 +2,9 @@
grammar ToBI_GPRS;
public <task> = [<robot_name>] [(would | could) you] [please] <command> [please] [<robot_name>];
<robot_name> = tobi | robot;
<robot_name> =
(
tobi | robot
)
;
<command> = <bring_command> | <goto_command> | <find_command> | <follow_command> | <cleanup_command> | <show_command> | <pointat_command>;
<command> =
(
<bring_command> | <goto_command> | <find_command> | <follow_command> | <cleanup_command> | <show_command> | <pointat_command>
)
;
<bring_command> = (<bringVerb> [<person>] [<article>] <grab_object> [<preposition> [<article>] <location>] [((to|into) [<article>] <second_location>)]) | (<bringVerb> [<article>] <person> <preposition> <article> <location>);
<goto_command> = (<gotoVerb> <preposition> ([<article>] <location>));
...
...
@@ -15,39 +15,39 @@ public <task> = [<robot_name>] [(would | could) you] [please] <command> [please]
<cleanup_command> = (<cleanupVerb> [<article> <room_class>]);
<show_command> = (<showVerb> [<person>] (([<article>] <grab_object>)) | (([the (path|way) to] [<article>] <location>)));
<bringVerb> = bring | carry | retrieve | fetch | get | give | put | attend | deliver | convey | gather | (pick up) | take | lead | grasp;
<findVerb> = detect | find | (search [for]) | (check [for]) | acquire | attain | obtain | (look for);
<pointatVerb> = (point at) | denote | direct | indicate | suggest | show;
<showVerb> = show | demonstrate | present | (point at) | denote | direct | indicate | suggest;
<gotoVerb> = navigate | go | approach | move | run | travel | ride;
<followVerb> = follow | chase | (come after);
<learnVerb> = learn | remember | memorize | determine | gain | study | train;
<cleanupVerb> = (clean up) | (tidy up) | clear | (do up) | (straighten up);
<bringVerb> =
(
bring | carry | retrieve | fetch | get | give | put | attend | deliver | convey | gather | (pick up) | take | lead | grasp
)
;
<findVerb> =
(
detect | find | (search [for]) | (check [for]) | acquire | attain | obtain | (look for)
)
;
<pointatVerb> =
(
(point at) | denote | direct | indicate | suggest | show
)
;
<showVerb> =
(
show | demonstrate | present | (point at) | denote | direct | indicate | suggest
)
;
<gotoVerb> =
(
navigate | go | approach | move | run | travel | ride
)
;
<followVerb> =
(
follow | chase | (come after)
)
;
<learnVerb> =
(
learn | remember | memorize | determine | gain | study | train
)
;
<cleanupVerb> =
(
(clean up) | (tidy up) | clear | (do up) | (straighten up)
)
;
<person> = someone | <personal_pronoun> | <person_name> | (person | man | woman | guy | girl | boy | human | robot);
<personal_pronoun> = him | her | me;
<person_name> = james|john|alfred|daniel|charles|luis|paul|richard|robert|steve|anna|beth|carmen|jennifer|jessica|kimberly|kristina|laura|mary|sarah;
<person> =
(
someone | <personal_pronoun> | <person_name> | (person | man | woman | guy | girl | boy | human | robot)
)
;
<personal_pronoun> =
(
him | her | me
)
;
<person_name> =
(
james|john|alfred|daniel|charles|luis|paul|richard|robert|steve|anna|beth|carmen|jennifer|jessica|kimberly|kristina|laura|mary|sarah
)
;
<grab_object> = <cleaning_class> | <drink_class> | <snack_class> | <food_class> |
tool | (bathroom stuff) |
cleaning
_
stuff
| drinks
| drink | snacks | snack | object | food | something | stuff | item | beverage;
<cleaning_class> = brush | detergent | shampoo | sponge | toothpaste;
<drink_class> = (orange juice) | beer | cola | (chocolate milk) | (energy drink) | (grape juice) | milk | water;
<snack_class> = (chocolate cookies) | chips | biscuits | bread | pringles | (strawberry cookies);
<food_class> = (baby food) | crackers | coffee | yeast | noodles | beans;
<grab_object> =
(
<cleaning_class> | <drink_class> | <snack_class> | <food_class> |
(
cleaning
stuff
)
| drink | snacks | snack | object | food | something | stuff | item | beverage
)
;
<cleaning_class> =
(
brush | detergent | shampoo | sponge | toothpaste
)
;
<drink_class> =
(
(orange juice) | beer | cola | (chocolate milk) | (energy drink) | (grape juice) | milk | water
)
;
<snack_class> =
(
(chocolate cookies) | chips | biscuits | bread | pringles | (strawberry cookies)
)
;
<food_class> =
(
(baby food) | crackers | coffee | yeast | noodles | beans
)
;
<location> = <appliance_class> | <shelf_class> | <seat_class> | <table_class> | <room_class> | <door_class> | <exit_class> | exit | door | seating | utensil | location | room | appliance | shelf | seat | table | somewhere | apartment | furniture;
<location> =
(
<appliance_class> | <shelf_class> | <seat_class> | <table_class> | <room_class> | <door_class> | <exit_class> | exit | door | seating | utensil | location | room | appliance | shelf | seat | table | somewhere | apartment | furniture
)
;
<second_location> = <appliance_class> | <shelf_class> | <seat_class> | <table_class> | <room_class> | <door_class> | door | seating | utensil | location | room | appliance | shelf | seat | table | somewhere | apartment | furniture;
<second_location> =
(
<appliance_class> | <shelf_class> | <seat_class> | <table_class> | <room_class> | <door_class> | door | seating | utensil | location | room | appliance | shelf | seat | table | somewhere | apartment | furniture
)
;
<appliance_class> = (waste bin) | fridge | stove;
<shelf_class> = bar | sideboard | (right sidetable) | (left sidetable);
<appliance_class> =
(
(waste bin) | fridge | stove
)
;
<shelf_class> =
(
bar | sideboard | (right sidetable) | (left sidetable)
)
;
<seat_class> = <seating_class>;
<seating_class> = sofa | armchair | bed;
<table_class> = (kitchen table) | (hallway table) | (dinner table) | (couch table) ;
<door_class> = (room door);
<room_class> = kitchen | (living room) | bedroom | hallway;
<exit_class> = (exit door) | (entry door);
<seating_class> =
(
sofa | armchair | bed
)
;
<table_class> =
(
(kitchen table) | (hallway table) | (dinner table) | (couch table)
)
;
<door_class> =
(
(room door)
)
;
<room_class> =
(
kitchen | (living room) | bedroom | hallway
)
;
<exit_class> =
(
(exit door) | (entry door)
)
;
<preposition> = into | to | from | on;
<further_preposition> = (on [top of]) | in | (next to) | at | near;
<preposition> =
(
into | to | from | on
)
;
<further_preposition> =
(
(on [top of]) | in | (next to) | at | near
)
;
<article> = the | an | a | some | this;
<article> =
(
the | an | a | some | this
)
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment