E.V.E. is a Star Trek / Jarvis type computer. Run the program, and E.V.E. will activate whenever you say "okay computer," after which you can ask it a question / command.
E.V.E. accepts many different types of questions and commands, such as "What was the temperature in London on the 13th July 1982?", "Youtube the Star Trek Into Darkness trailer," and "Eve, what sports do you like to play?" See 'Usage' for a full list of what E.V.E. can do.
This project was cloned from a similar project by Rob McCann. I have implemented some of the next steps listed in that project here, and will be contributing back to that project in the next few days. Yay open source!
The project is developed for Linux, but has the potential to be multi-platform. Perhaps you can help!
- julius and julius-voxforge packages
- python: pyaudio
- python: requests
- python: pydub
- python: PyAIML
- python: praw
- python: wolframalpha
Other requirements:
- Wolfram Alpha API key
- Internet connection and web browser
- A microphone
See 'Installation' for detailed installation instructions.
Run the project by entering 'python eve.py' into the terminal in the EVE directory. E.V.E. will start up and then listen for a spoken activation command.
processed by Julius Speech Recognition Software.
-
"Okay Computer" -- E.V.E. will listen for a voice command, which is described in further detail below. After executing the command, E.V.E. will listen for another activation command.
-
"Computer Power Down" -- E.V.E. will shut down.
-
"Thanks Darling" -- E.V.E. will accept the thanks and listen for another activation command.
processed by the google text-to-speech engine.
-
"open [webpage]" -- opens specified webpage.
-
"google/search [query]" -- googles specified query.
-
"youtube [query] -- plays first youtube video returned by query.
-
"youtube search [query]" -- returns list of videos found by query.
-
"grooveshark/play [query]" -- look up query on grooveshark.
-
"news" -- returns ten newest worldnews items from reddit
-
"screenshot" -- takes a screenshot
-
"Computer, [query]" -- AI responds to query
-
"[query]" -- runs query against wolfram alpha
-
"no/no stop" -- accidental recording; do nothing.
These installation instructions work for Ubuntu Linux.
'sudo apt-get install julius'
'sudo apt-get install julius-voxforge'
Download from website 'http://people.csail.mit.edu/hubert/pyaudio/'
'dpkg -i python{,3}-pyaudio_0.2.7-1_{i386,amd64}.deb'
'pip install requests==0.14.2'
'pip install praw'
'pip install wolframalpha'
'pip install pydub'
'wget http://sourceforge.net/projects/pyaiml/files/PyAIML%20%28unstable%29/0.8.6/PyAIML-0.8.6.tar.gz/'
'tar xzvf PyAIML-0.8.6.tar.gz'
'cd PyAIML-0.8.6/'
'sudo python setup.py install'
Sign up for a wolfram alpha account
--'https://developer.wolframalpha.com/portal/apisignup.html'
Request an API key
In the terminal, 'export WOLFRAM_API_KEY='AAAAAA-AAAAAAAAAA''
'git clone https://github.com/thomasweng15/E.V.E..git'
- come up with a better way to manage music.
- come up with a better way to present the news.
Thomas Weng
Rob McCann