First Jarvis Session Video!!!
This video is to explain how the speech recognition of the Jarvis system works and how its executed. Below is the relevant source code!! If you got a suggestion for a Jarvis session, post it on the Project Jarvis Facebook Fan page!! http://www.facebook.com/pages/Project-Jarvis/370440470548?ref=ts
tell application “MacSpeech Dictate International”
set microphone to dictation
end tell
set library to (load script ((“/Library/Application Support/Jarvis/Library.scpt”) as POSIX file))
library’s speak({true, “yes sir”})
repeat
display dialog “Speech Text” default answer “”
set myCommand to text returned of result
set myReturn to library’s process_command(myCommand, “Speech”, “Jarvis”)
library’s speak({true, myReturn})
if myReturn does not start with “I’m sorry” then exit repeat
end repeat
tell application “MacSpeech Dictate International”
set microphone to command operation
end tell
-
chatzitate liked this
-
wsfwarlord reblogged this from projectjarvis
-
projectjarvis posted this