tihu-nlp / tihu

Persian Text-To-Speech
http://lilak-project.com/tihu_demo.php
Other
84 stars 11 forks source link
morphological-analysis persian-language persian-nlp text-to-speech tihu

Tihu, Persian Text-To-Speech

Tihu is an open source Persian text-to-speech engine. It's a cross-platform application and mostly is written in C++. Tihu uses Hazm for digesting Persian text and Tihu g2p-seq2seq for Grapheme-to-Phoneme conversion.

Compile the source

Make sure you have installed gcc (6.0 or higher). To check your gcc version run gcc --version. Also you need python2.7 to run Tihu.

Compiling Tihu library

You can compile Tihu library by following these steps:

git clone https://github.com/tihu-nlp/tihu.git
cd tihu

apt install curl
apt install python2-pip
apt install libespeak-ng-dev
apt install libsamplerate0-dev

make ready
make release

Tihu console

Tihu console is a gui application that allows you to work with Tihu library. Before compiling Tihu console make sure you have installed qt framework. You can also find a pre-compiled version of Tihu console in release page for linux x64.

To compile Tihu console run:

qmake --version
make console

Tihu gRPC

Make sure you have installed gRPC C++. Then type: make grpc

docker

To create Tihu docker with the gRPC endpoint: type make docker

These command will be usefull while using docker:

How Tihu works

Check the wiki page to know how Tihu convert Persian text to speech. This document is in Persian and explain how Tihu works with an example.

About the Name

Tihu is Persian name for Partridge.