Skip to content
This repository has been archived by the owner on Nov 10, 2024. It is now read-only.

Latest commit

 

History

History
59 lines (36 loc) · 1.73 KB

README.md

File metadata and controls

59 lines (36 loc) · 1.73 KB

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:

  • Run the docker: docker run --name tihu -p 50051:50051 tihu
  • Stop the docker: docker stop tihu
  • Start the docker: docker start tihu

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.