diff --git a/src/speech-recognition.js b/src/speech-recognition.js index 40d061c..cf2c71c 100644 --- a/src/speech-recognition.js +++ b/src/speech-recognition.js @@ -126,7 +126,12 @@ grammar jspaintCommands; = ${toolNames.join(' | ')}; = [the] [tool]; = select | pick | choose | use | activate | "pick up" | grab; -public = [] ( | ); + = stop | end | cease | (that's | that is) enough | enough of that | terminate | halt | put an end to [this] | break off; +// @TODO: is there an escape hatch for "any text here"? + = [a|an] (something | thing | anything | dog | cat | house | mouse | bird | snake | tree | turtle | mountain | [smiley | smiling | happy | frowny | frowning | sad] face); + = draw | sketch | doodle | render | ((draw | sketch | doodle | render | do | paint) [a picture | an image | a drawing | a painting | a rendition | a sketch | a doodle) of]); + = ; +public = [] ( | ) | | ; `; const recognition = new SpeechRecognition();