MeCabã®Rubyãã¤ã³ãã£ã³ã°ã試ãã¦ã¿ã¾ããã ã¾ãã¯ãä¸è¨ã®ãã¼ã¸ãåèã«ããã¦ã³ãã¼ããã¦ã¤ã³ã¹ãã¼ã«ã http://mecab.sourceforge.net/bindings.html http://sourceforge.net/project/showfiles.php?group_id=177856&package_id=205294 ä»å±ã®ãã¹ãã³ã¼ããè¦ã¦ã¿ãã #!/usr/bin/ruby require 'MeCab' sentence = "太éã¯ãã®æ¬ãäºéãè¦ã女æ§ã«æ¸¡ããã" begin print MeCab::VERSION, "\n" c = MeCab::Tagger.new(ARGV.join(" ")) puts c.parse(sentence) n = c.parseToNode(sentence) while n do print
{{#tags}}- {{label}}
{{/tags}}