Sha256: 6f37b5cf7f44cecfde1324f84310e41f15dc935a21cd508542c608f5fd1219d8

Contents?: true

Size: 304 Bytes

Versions: 2

Compression:

Stored size: 304 Bytes

Contents

#!/usr/bin/env ruby

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'aozora-polly'
require 'open-uri'

if ARGV.size == 0
  puts "#$0 url ssml"
  exit
end

aozora_url, ssml_path = ARGV

ssml = AozoraPolly.url2ssml(aozora_url)
File.write(ssml_path, ssml)
puts "Generated: #{ssml_path}"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aozora-polly-0.3.1 exe/aozora2ssml
aozora-polly-0.3.0 exe/aozora2ssml