Package: py-nltools
py-nltools----------A collection of abstraction layers and support functions that form the naturallanguage processing foundation of the Zamia AI project:* `phonetics`: translation functions between various phonetic alphabets (IPA, X-SAMPA, X-ARPABET, ...)* `tts`: abstraction layer towards using eSpeak NG, MaryTTS, SVOX Pico TTS or a remote TTS server and sequitur g2p* `asr`: abstraction layer towards using kaldi-asr, models can be found here: http://www.zamia-speech.org* `sequiturclient`: g2p using sequitur* `pulseplayer`: audio playback through pulseaudio* `pulserecorder`: audio recording through pulseaudio* `tokenizer`: english, french and german word tokenizers aimed at spoken language applications* `threadpool`: simple thread pool implementation* `vad`: Voice Activity Detection finite state machine based on webrtc VAD* `macro_engine`: Simple macro engine aimed at generating natural language expansionsI plan to add modules as I need them in the Zamia AI projects. Some modules like `phonetics` and `tokenizer`have some overlap with larger projects like NLTK or spaCy - my modules tend to be more hands-on and simple mindedthan these and therefore are in no way meant to replace them.ifndef::imagesdir[:imagesdir: images]ifndef::env-github[][ditaa,"highlevel"]....+-----------------------------------------------------------------------------------------------+|                                           nltools                                             || +-----------+  +-----------+  +------------+  +--------------+                                || | tokenizer |  | phonetics |  | threadpool |  | macro_engine |                                || +-----------+  +-----------+  +------------+  +--------------+                                ||                                                                                               ||      +-----------+               +-----------+     +-----------+ +-----------+ +-----------+  ||      |    tts    |               |    asr    |     |    vad    | |    g2p    | |   audio   |  ||      +-----------+               +-----------+     +-----------+ +-----------+ +-----------+  ||            |                           |                 |             |             |        |+-----------------------------------------------------------------------------------------------+|                           |                 |             |             |+--------+---------+                 |                 |             |             ||        |         |                 |                 |             |             |v        v         v                 v                 v             v             v+------+ +--------+ +------+         +-------+        +--------+    +----------+ +------------+| mary | | eSpeak | | pico |         | kaldi |        | webrtc |    | sequitur | | pulseaudio |+------+ +--------+ +------+         +-------+        +--------+    +----------+ +------------+....endif::env-github[]ifdef::env-github[]image::highlevel.png[Highlevel Diagram]endif::env-github[]Requirements~~~~~~~~~~~~*Note*: probably incomplete.* Python 2.7* for TTS one or more of:- MaryTTS, py-marytts- espeak-ng, py-espeak-ng- SVOX Pico TTS, py-picotts* for ASR- kaldi-asr 5.4.248, py-kaldi-asr* sequitur* pulseaudio* webrtcLicense~~~~~~~My own code is Apache-2.0 licensed unless otherwise noted in the script's copyrightheaders.Some scripts and files are based on works of others, in those cases it is myintention to keep the original license intact. Please make sure to check thecopyright headers inside for more information.Authors~~~~~~~Guenter Bartsch <guenter@zamia.org>Paul Guyot <pguyot@kallisys.net>