willowjar / scratchNLP

2 stars 1 forks source link

error reporting for invalid arguments #15

Open quachtina96 opened 5 years ago

quachtina96 commented 5 years ago

for example, a user might say "play the alarm sound" --> ['doPlaySoundAndWait', 'Alarm']. However, there is no 'Alarm' sound. can we do this validation in the semantic rules?

we should probably also come up w/ some other places where we need to validate arguments.