So I'm trying to make an application in Applescript that's kind of like Siri, except you type what you're going to say instead of speaking it, and the program responds to you with built-in voice (yes, I know how to get strings and have the computer talk ). Instead of typing in every combination of words in existence, I want it to recognize keywords. Let's say the user says "I hate you, you stupid machine," it would pick up "hate," "you" and "stupid," and reply "Did I do something wrong?" If the user said "I hate stupid machines," then it would differ and say "That's a very strong opinion"
Thanks in advance!
Thanks in advance!