Skip to main content

Deep Learning and more NLP toolkit

Project description

Kolibri

A comprehensive multi modal machine learning platform

Contents

├── README.md
├── config

  • README.md: this documentation

Setting up PyFreeLing in Mac OS Sierra

There are 4 types of dependencies:

  • Homebrew, a package manager to install software in Mac
  • FreeLing, an open source language analysis tool suite
  • Python 3
  • lxml, a Python library to work with XML
  • libxml2 and libxslt C libraries which are dependencies of lxml

Install Homebrew

Follow Neil Gee's guide to install and set up homebrew for Mac OS Sierra

Install FreeLing

Use Homebrew to install FreeLing by running this command:

brew install freeling

Homebrew will take care of any dependencies.

Install Python 3

You can install Python 3 with Homebrew following the instructions from The Hitchhiker's Guide to Python or following the very complete Lisa Tagliaferri's guide.

Basically:

brew install python3

Install libxml2 and libxslt

macOS Sierra already provides libxml2 and libxslt. They can be installed through Homebrew though:

brew install libxml2
brew install libxslt

Install lxml

Now, you are ready to install lxml:

pip3 install lxml

Once you have installed FreeLing and all the dependencies, you will always need to start a FreeLing analyzer in server mode

Starting a FreeLing analyzer in server mode

analyze -f en.cfg --server --port 50005 &

Install pyaudio

install pyaudio in Windows

Intalling pyaudiocan be tricky in window platform and generally 'pip install pyaudio' will not work. see the following stackoverflow response if you have any problem.

https://stackoverflow.com/questions/52283840/i-cant-install-pyaudio-on-windows-how-to-solve-error-microsoft-visual-c-14

Install pyaudio in mac os x

First install portaudio

brew install portaudio 

the run the following command

pip install --global-option='build_ext' --global-option='-I/usr/local/include' --global-option='-L/usr/local/lib' pyaudio

install pocketsphinx

Instaaling this library could be difficult on some systems. If the command:

pip install pocketsphinx 

did not work for you then try the following steps

git clone --recursive https://github.com/bambocher/pocketsphinx-python
cd pocketsphinx-python

Edit file pocketsphinx-python/deps/sphinxbase/src/libsphinxad/ad_openal.c.

Change

#include <al.h>
#include <alc.h>

to

#include <OpenAL/al.h>
#include <OpenAL/alc.h>

and finally:

python setup.py install

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

deep_kolibri-0.4.0-py3-none-any.whl (376.6 kB view details)

Uploaded Python 3

File details

Details for the file deep_kolibri-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: deep_kolibri-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 376.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.2

File hashes

Hashes for deep_kolibri-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 058ea8c585db4aaee2b2b0612cca79e745a308dd5dde2717957de76193a9332f
MD5 4305c7de790edea48ac85ae7b6feab16
BLAKE2b-256 9082b639b0ecb462de83833e2d91c966b246b4f811a821e1b427bc0a7a218409

See more details on using hashes here.

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