Skip to content

PyText2Speech/PyText2Speech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

travis-ci status

PyText2Speech

PyText2Speech is a python3 package providing a function to easy to speech test with different languages. This package now integrate with google, IBM watson, Industrial Technology Research Institute of Taiwan (ITRI), Baidu.

Project setup

Basic Python Setup

this is a python3 project. while you are start project, please use virtual environment.

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Mac Preparation

brew install sox

Windows Preparation

install sox, and modify PATH variable so our program can execute sox

Linux Preparation

install sox with your package management system

Account Setting

The text speech test is providing by those IBM watson, Industrial Technology Research Institute of Taiwan (ITRI), Baidu service, before you should apply the account and can use it.

Execute this package at first time, we will create a JSON file pytext2speech.json at your "~/" path, and you just input the service's acoount and password, congratulation it can work now.

JSON file format example:

    {
     "BAIDU":
            {
                "name":"",
                "pwd":""
            },
    "GOOGLE":
            {
                "name":"",
                "pwd":""
            },
    "WATSON":
            {
                "name":"",
                "pwd":""
            },
    "ITRI":
            {
                "name":"",
                "pwd":""
            }
    }

License

The MIT License (MIT)

Copyright (c) 2016 PyText2Speech

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages