2011-08-01から1日間の記事一覧

日本語テキストから韻のふめる言葉を抜き出す

https://gist.github.com/1117548 # Usage: ruby extract_rhyme.rb [-m (vowel|vowel_with_help|surface)] -n N /path/to/file.txt カタカナまんま (デフォルト、-m surface) $ ruby extract_rhyme.rb -n 3 夏目漱石_坊ちゃん.txt | head アカリ: 月あかり |…