Skip to content
Snippets Groups Projects
Commit 7e82cd8b authored by Günes Minareci's avatar Günes Minareci
Browse files

GPR_new.grm neue grm für GPR2 TODO: debugging

parent cbd3aaa5
No related branches found
No related tags found
No related merge requests found
$$S: $robot_name $start
| $start;
$robot_name: tobi;
$start: $command $connect $command $connect $command
| $command $connect $command
| $command
| $question
| $confirm_yes
| $confirm_no;
$question: question_TODO;
$connect: and | then | and then;
$command: $bring_command | $get_command | $find_command | $leave_command |
$put_command | $go_command | $follow_command | $learn_person_command |
$stop_command | $wait_command;
$bring_command: $bringVerb $person $grm_article $grep_object $praeposition $location |
$bringVerb $person $grm_article $grep_object;
$get_command: $getVerb $grm_article $grep_object $praeposition $grm_article $location |
$getVerb $grm_article $grep_object;
$find_command: $findVerb $grm_article $grep_object $in $grm_article $location;
$leave_command: $leaveVerb $grm_article $room_class;
$put_command: $putVerb $grm_article $grep_object $on_in $grm_article $location;
$go_command: $goVerb $to_into $location;
$follow_command: $followVerb $person;
$learn_person_command: $learnVerb $person;
$stop_command: $stopVerb;
$wait_command: $waitVerb;
$person: $personal_pronoun | $person_name;
$person_name: James | John | Robert | Michael | William | David | Richard
| Charles | Linda | Thomas | Mary | Patricia | Joseph | Dorothy
| Barbara | Susan | Jennifer | Maria | Elizabeth | Margaret;
$personal_pronoun: him | her | me | it;
$grm_article: a | the;
$to_into: $in | into;
$in: in;
$on_in: on | $in;
$praeposition: from | to ;
$bringVerb: bring $person | bring;
$getVerb: get $person | get;
$findVerb: find $person | find;
$leaveVerb: leave;
$putVerb: put ;
$$goVerb: go ;
$followVerb: follow ;
$grep_object: $medicine_class | $stuff_class | $drink_class | $snack_class | $food_class
| medicine | stuff | drink | snack | food;
$stuff_class: matches | cards | flowers | sponge | bag | headphone | cube |
tape | cup | microphone;
$medicine_class: bandaids | creme | kleenex;
$drink_class: coke | redbull | juice | Beer | Water | Wine;
$snack_class: cookies;
$food_class: noodles | peanuts | chocolate | hazelnuts;
$location: $appliance_class | $shelf_class | $seat_class | $table_class | $bin_class
| aplliance | shelf | seat | table | bin
| $decoration_class | $room_class
| decoration | room;
$appliance_class: fridge | sink | TV | plant;
$shelf_class: hanger | shelf;
$seat_class: couch | lounge | bed | armchair;
$table_class: desk | dinnertable | side_table | couch_table |
bar | lounge | couch_table | armchair;
$bin_class: waste;
$decoration_class: plant | poster;
$room_class: kitchen | living_room | dining_room;
$learnVerb: remember | memorize;
$stopVerb: stop;
$waitVerb: wait;
$confirm_yes: $robot_name please | $robot_name yes | $robot_name yes please | yes $robot_name
| yes please $robot_name | yes please | correct | correct $robot_name
| $robot_name correct | this is correct | $robot_name this is correct | yes;
$confirm_no: $robot_name no | $robot_name no thanks | no $robot_name | no | no thanks $robot_name | no thanks;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment