Skip to main content

A voice assistant prototype

Project description

1. Brew

  • Run the following in your project terminal if you do not have bew installed already $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2. Portaudio

$ brew install portaudio

3. PyAudio

$ pip3 install pyaudio

If Pyaudio cannot be installed with the default pip install command, Use instead the following: $ pip install --global-option='build_ext' --global-option='-I/usr/local/include' --global-option='-L/usr/local/lib' pyaudio Refer to this link if this is not working

###4. NeuralIntents $ pip install neuralintents (Run this only if neuralintents.py file is missing)

Start

While being in the venv $ python main.py

  • If you run into SSL certification error, search for Certificates.command in spotlight and open the file. It should install the necessary certificates

The downloader script is broken. As a temporal workaround can manually download the punkt tokenizer from here and then place the unzipped folder in the corresponding location. The default folders for each OS are:

Windows: C:\nltk_data\tokenizers

OSX: /usr/local/share/nltk_data/tokenizers

Unix: /usr/share/nltk_data/tokenizers

Required libraries:

  • $ pip install keyboard
  • $ pip install pyjokes
  • $ pip install playsound

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mac_voice_assistant-0.0.1.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

mac_voice_assistant-0.0.1-py3-none-any.whl (10.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page