willowjar / scratchNLP

2 stars 1 forks source link

multi-word assets cannot be understood #18

Open quachtina96 opened 5 years ago

quachtina96 commented 5 years ago

play the meow sound [WARNING] Obtained 2 parses; selecting the parse with the largest height. {'variables': {}, 'sounds': set(['Meow']), 'lists': {}, 'scripts': [['doPlaySoundAndWait', 'Meow']]} play the dance celebrate sound Traceback (most recent call last): File "semantic.py", line 132, in process_single_instruction tree = parse_input_str(input_str) File "semantic.py", line 78, in parse_input_str raise Exception("Failed to parse the sentence: " + input_str) Exception: Failed to parse the sentence: play the dance celebrate sound None I don't understand.