Created
September 26, 2020 05:37
-
-
Save hyuki/f00c2cf5c08a0084e63515b7e51ca762 to your computer and use it in GitHub Desktop.
suika-sample.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'suika' | |
text = <<"EOD" | |
文書処理のためにさくっと動く形態素解析がほしくなって検索したら | |
Suikaというものがありました。 | |
Ruby 2.4.0では動かなかったけど、 | |
Ruby 2.5.1にしたら動きました。' | |
EOD | |
tagger = Suika::Tagger.new | |
puts tagger.parse(text) |
Author
hyuki
commented
Sep 26, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment