Giter Club home page Giter Club logo

tihu's Introduction

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.

tihu's People

Contributors

b00f avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.