0.0
No commit activity in last 3 years
No release in over 3 years
aozora bunko
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
>= 0
~> 10.0
~> 3.0

Runtime

>= 1.6
~> 4.4
~> 0.1.0
 Project Readme

AozoraPolly

Build Status Gem Version

Aozora Bunko XHTML to mp3 converter powered by Amazon Polly.

Installation

Add this line to your application's Gemfile:

gem 'aozora-polly'

And then execute:

$ bundle

Or install it yourself as:

$ gem install aozora-polly

Usage

$ aozora2ssml http://www.aozora.gr.jp/cards/000035/files/1567_14913.html merosu.ssml
$ aozora2mp3 http://www.aozora.gr.jp/cards/000035/files/1567_14913.html merosu.mp3
AozoraPolly.url2mp3("http://www.aozora.gr.jp/cards/000035/files/1567_14913.html", "merosu.mp3")
AozoraPolly.url2ssml("http://www.aozora.gr.jp/cards/000035/files/1567_14913.html") # => ssml string
AozoraPolly.html2ssml(html) # => ssml string

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/hogelog/aozora-polly.

License

The gem is available as open source under the terms of the MIT License.