Skip to content

pollydent is a library to speech to text via Amazon Polly

License

Notifications You must be signed in to change notification settings

bamchoh/pollydent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pollydent

pollydent is a wrapper of text-to-speech for Amazon Polly and Google Cloud Text-To-Speech

Requirement

pollydent needs AWS account, and GCP account. Please sign up AWS, and GCP. if you want to use Google Cloud Text-To-Speech, please install gcloud in your PC. Please install SoX if you are using Linux or OS X.

Install

$ go get github.com/bamchoh/pollydent

Usage

package main

import (
	"log"
	polly "github.com/bamchoh/pollydent"
)

func main() {
	p := polly.NewPollydent(
		"<ACCESS_KEY>",
		"<SECRET_KEY>",
		nil,
	)
	p.ReadAloud("こんにちは世界")
}

ACCESS_KEY, SECRET_KEY

If you have no these keys, please create according to https://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html

How to enable Google Cloud Text-To-Speech

Please see Quick Start guide, https://cloud.google.com/text-to-speech/docs/quickstart-protocol

About

pollydent is a library to speech to text via Amazon Polly

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages