Skip to content

Commit

Permalink
[Fix] Fix bug of the Category 0 grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
akinobu1998 committed Apr 9, 2023
1 parent 94cf4f8 commit 9980b44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions CommandGenerator/CommandGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@
<DependentUpon>QRDialog.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Folder Include="NewFolder1\" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
8 changes: 4 additions & 4 deletions GPSRCmdGen/Resources/Category0Grammar.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ $giveobj = $vbgive it to {name}
$complex = $report how many $count

$report = $vbreport me
$count = (people in the {room} are {gesture} | {object} there are on the ${beacon})
$count = (people in the {room} are {gesture} | {category} there are on the ${beacon})


##############################################################################
#
# Navigation: Go to the room, find person and follow / guide person.
#
##############################################################################
$complex = $gofindmale and ($vbfollow {name 1} | $vbguide him to the {placement 2})
$complex = $gofindfemale and ($vbfollow {name 1} | $vbguide her to the {placement 2})
$complex = $gofindmale and ($vbfollow him | $vbguide him to the {placement 2})
$complex = $gofindfemale and ($vbfollow her | $vbguide her to the {placement 2})

##############################################################################
#
Expand All @@ -45,7 +45,7 @@ $complex = $gofindfemale and ($vbanswer her question | $vbask her {question}).


$gofindmale = $goroom, $findmale at the {placement 1}
$gofindfemale = $goroom, $findmale at the {placement 1}
$gofindfemale = $goroom, $findfemale at the {placement 1}

$findmale = $vbfind {male 1}
$findfemale = $vbfind {female 1}
Expand Down

0 comments on commit 9980b44

Please sign in to comment.