willowjar / scratchNLP

2 stars 1 forks source link

Distinguish between a string and the name of a variable in speech. #16

Closed quachtina96 closed 5 years ago

quachtina96 commented 5 years ago

if the user says, "create a variable called x and set it to a random number between 1 and 10" which parses to [['wait:elapsed:from:', 0.1], ['setVar:to:', 'x', ['randomFrom:to:', 1, 10]]], "log x" --> map to a program that says "x is 5" or more generally is

Current behavior: log x is not supported