willowjar / scratchNLP

2 stars 1 forks source link

Do not rely on the format of "variable called <variable_name>" and "list called <list_name>" #3

Open quachtina96 opened 6 years ago

quachtina96 commented 6 years ago

ScratchNLP depends on "called" being part of the phrasing in order to recognize it and pull out the appropriate name (to add it to the grammar).

However, it's easy to imagine a user who omits "called"

"make a variable y" "make a variable x and a variable z" "make a list fruits"