Coder Social home page Coder Social logo

keiffster / talk-y Goto Github PK

View Code? Open in Web Editor NEW
4.0 5.0 0.0 95 KB

A speech to text and text to speech client for Program-Y chatbot framework

License: MIT License

Python 97.65% Shell 1.54% Batchfile 0.81%
aiml python python3 chatbot texttospeech speechtotext virtualassitant siri cortana alexa

talk-y's Introduction

talk-y

A speech to text and text to speech client for Program-Y

Installation

First install the base dependencies from programy

    pip install programy

Next clone the code base

wget https://

Change to the directory that you installed the clone

Now set PYTHONPATH

export PYTHONPATH=${PYTHONPATH}:<path to talk-y>/src

Install the Talk-y dependencies

pip install -r requirements.txt

Execute the script

cd scripts\xnix
./talk-y.sh

Enjoy

talk-y's People

Contributors

keiffster avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

talk-y's Issues

need to install Python 3.5.3 or 3.5.2 '32 bit' for pocketsphinx 0.1.3 dependence and pip code for install

Hi all, I have found some time to play with the bots and was trying to setup talk-y but found that you need to install Python 3.5.3 or python 3.5.2 '32 bit' for pocketsphinx 0.1.3 dependence to run on talk-y

Installation

Make sure we have up-to-date versions of pip, setuptools and wheel:

$ pip install --upgrade pip setuptools wheel

$ pip install --upgrade pocketsphinx

If you try this,

$ pip3 install pocketsphinx

You will get the following error like this:


C:\xxxx\xxxx>pip3 install pocketsphinx
Collecting pocketsphinx
  Using cached pocketsphinx-0.1.3.zip
Building wheels for collected packages: pocketsphinx
  Running setup.py bdist_wheel for pocketsphinx ... error
  Complete output from command c:\xxxx\xxxx\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\xxxx\\xxxx\\AppData\\Local\\Temp\\pip-build-v3akenb8\\pocketsphinx\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\xxxx\xxxx\AppData\Local\Temp\tmpl4rx9wl6pip-wheel- --python-tag cp36:
  running bdist_wheel
  running build_ext
  building 'sphinxbase._ad' extension
  swigging swig/sphinxbase/ad.i to swig/sphinxbase/ad_wrap.c
  swig.exe -python -modern -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/win32 -Ideps/sphinxbase/swig -outdir sphinxbase -o swig/sphinxbase/ad_wrap.c swig/sphinxbase/ad.i
  error: command 'swig.exe' failed: No such file or directory

  ----------------------------------------
  Failed building wheel for pocketsphinx
  Running setup.py clean for pocketsphinx
Failed to build pocketsphinx
Installing collected packages: pocketsphinx
  Running setup.py install for pocketsphinx ... error
    Complete output from command c:\xxxx\xxxx\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\xxxx\\xxxx\\AppData\\Local\\Temp\\pip-build-v3akenb8\\pocketsphinx\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\xxxx\xxxx\AppData\Local\Temp\pip-a0uu06eg-record\install-record.txt --single-version-externally-managed --compile:
    running install
    running build_ext
    building 'sphinxbase._ad' extension
    swigging swig/sphinxbase/ad.i to swig/sphinxbase/ad_wrap.c
    swig.exe -python -modern -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/win32 -Ideps/sphinxbase/swig -outdir sphinxbase -o swig/sphinxbase/ad_wrap.c swig/sphinxbase/ad.i
    error: command 'swig.exe' failed: No such file or directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.