Skip to content
C++ HTML C Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build remove Mbrola library Mar 15, 2019
src Merge pull request #21 from tihu-nlp/grpc Mar 14, 2019
test update tests Oct 26, 2018
tools Enable using tihu_voices for grpc Aug 16, 2019
.gitattributes initialize Oct 21, 2016
.gitignore update tests Oct 26, 2018
.travis.yml remove Mbrola library Mar 15, 2019
CHANGELOG.md bumping version to 0.2.0 Mar 14, 2019
LICENSE initialize Oct 21, 2016
Makefile bumping version to 0.2.0 Mar 14, 2019
README.md remove Mbrola library Mar 15, 2019

README.md

Tihu, Persian Text-To-Speech Build Status

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

Please make sure you have installed gcc (6.0 or higher). To check your gcc version run gcc --version.

You can compile Tihu by following these steps:

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

# install hazm
pip install hazm

#compile MBROLA
git clone https://github.com/numediart/MBROLA
cd MBROLA
make
cp mbrola ./build/

# espeak-data
curl -sLO http://sourceforge.net/projects/espeak/files/espeak/espeak-1.48/espeak-1.48.04-source.zip
unzip espeak-1.48.04-source.zip
cp -r espeak-1.48.04-source/espeak-data ./build/data/
rm espeak-1.48.04-source.zip
rm -rf espeak-1.48.04-source

# g2p-seq2seq-tihudict
curl -sLO https://github.com/tihu-nlp/tihudict/releases/download/v1.0/g2p-seq2seq-tihudict-model-1.0.tar.gz
tar zxvf g2p-seq2seq-tihudict-model-1.0.tar.gz
mkdir ./build/data/g2p-seq2seq-tihudict
cp -r g2p-seq2seq-tihudict/* ./build/data/g2p-seq2seq-tihudict

# g2p-seq2seq-model-6.2-cmudict
curl -sLO https://sourceforge.net/projects/cmusphinx/files/G2P%20Models/g2p-seq2seq-model-6.2-cmudict-nostress.tar.gz
tar zxf g2p-seq2seq-model-6.2-cmudict-nostress.tar.gz
mkdir ./build/data/g2p-seq2seq-cmudict
cp -r g2p-seq2seq-model-6.2-cmudict-nostress/* ./build/data/g2p-seq2seq-cmudict

# compiling code
make
make console

Tihu console

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

Note: Windows users can compile Tihu by their own risks.

About the Name

Tihu is Persian name for Partridge.

You can’t perform that action at this time.