First install of jasper

First of all fresh install of the jasper img provided by matt curry.

After you should make an apt-get ‘update upgrade’…. and your good to go make a tea break and maybe do some lundry lawl.
….still updating go prepare a snack and put one episode of your favorite serie 😉

You need to use the jasper toolkit provided by matt curry that is the home directory of the pi to install jasper…. not working error in the script just use

git clone https://github.com/jasperproject/jasper-client

after go give your info to jasper

cd ~/jasper/client

python populate.py

info are stored in : nano ~/.jasper/profile.yml

after modify profile.yml to add the stt

stt_engine: sphinx
pocketsphinx:
fst_model: ‘~/g014b2b/g014b2b.fst’                              #optional
hmm_dir: ‘/usr/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k’ #optional

Sameting for the tts i will use svox pico for testing purpose

On Debian, you need to install libttspico-utils:

sudo apt-get update
sudo apt-get install libttspico-utils

Then, you just add it to your profile.yml:

tts_engine: pico-tts

 to fix weather for montreal beach :

location: montreal
wmo_id: 71627

as i dont like to give my gmail password in plane txt on a  device i will create a mailgun just for jasper

mailgun:
    username: postmaster@sandbox95948.mailgun.org
    password: your_password

Copied directly from : http://jasperproject.github.io/documentation/configuration/

Software Architecture

Having installed and configured Jasper and its required libraries, it is worth taking a moment to understand how they interact and how the code is architected.

The program is organized into a number of different components:

Jasper Client Architecture

jasper.py is the program that orchestrates all of Jasper. It creates mic, profile, and conversation instances. Next, the conversation instance is fed the mic and profile as inputs, from which it creates a notifier and a brain.

The brain then receives the mic and profile originally descended from main and loads all the interactive components into memory. The brain is essentially the interface between developer-written modules and the core framework. Each module must implement isValid() and handle() functions, as well as define a WORDS = [...] list.

To learn more about how Jasper interactive modules work and how to write your own, check out the API guide

Usefull links:

Installing Jasper on the Raspberry Pi 3 with Wit.ai for voice recognition

Jasper: manual installation on Raspbian Wheezy

Jasper-Project Useful Links

http://jasperproject.github.io/documentation/configuration/-

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s