Macでコンピュータに日本語を喋らせるための何か
Waht's this?
標準入力から受け取った日本語テキストを読み上げる
Source code
#!/usr/bin/ruby mouth = open("|mecab -O yomi|SayKana >/dev/null", 'w') while l = gets l.chomp! mouth.puts l if l && l != '' end
標準入力から受け取った日本語テキストを読み上げる
#!/usr/bin/ruby mouth = open("|mecab -O yomi|SayKana >/dev/null", 'w') while l = gets l.chomp! mouth.puts l if l && l != '' end