Say in japanese (using say-command on MacOSX)
- MacOSX 10.7(Lion) or later
- Voice data:
Kyoko
orOtoya
Add this line to your application's Gemfile:
gem 'say-japanese'
And then execute:
$ bundle
Or install it yourself as:
$ gem install say-japanese
require 'say/japanese'
say 'オブジェクト指向スクリプト言語 ルビー'
set_say_as_default :otoya
say 'オブジェクト指向スクリプト言語 ルビー'
say_as :kyoko, 'ルビーとは、'
say_as :otoya, <<EOT
オープンソースの動的なプログラミング言語で、
シンプルさと高い生産性を備えています。
エレガントな文法を持ち、自然に読み書きができます。
EOT
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request