(As of now, the instruction set added is only for Ubuntu 14.04 and higher)
To use all of the functionality of the library, you should have:Python 2.6, 2.7, or 3.3+ (required)
PyAudio 0.2.11+ (required only if you need to use microphone input, Microphone)
PocketSphinx (required only if you need to use the Sphinx recognizer, recognizer_instance.recognize_sphinx)
Google API Client Library for Python (required only if you need to use the Google Cloud Speech API, recognizer_instance.recognize_google_cloud)
FLAC encoder (required only if the system is not x86-based Windows/Linux/OS X)
sudo apt-get install python-setuptools
easy_install pip To correctly upgrade/install PyAudio, download and extract the 0.2.11 version from here http://www.portaudio.com/download.html and run the following set of commands from inside the portaudio directory
./configure && make
sudo make install
sudo pip install pyaudio --upgrade
sudo pip install google-api-python-client
Note-Google API has some limit on number of inputs per day. To install other servers when google API is unavailable, refer to https://github.com/Uberi/speech_recognition
1) Go to https://apps.twitter.com
2) Create a new app and generate your Consumer Key, Consumer Secret, Access token and Access token secret and replace these values under TwitterBot/letsTweet.py
3) Save the changes.
Note-Tweets cannot be duplicated.
For language changes and other settings in speech to text conversions, view https://github.com/Uberi/speech_recognition/blob/master/reference/library-reference.rst