å½¢æ ç´ è§£æãè¡ãªãããã®ã©ã¤ãã©ãªã¨ãã¦æåãªãã®ã«MeCabãããã¾ãã ãããç¨ãã¦åè©ãæ½åºããæ©ä¼ããã£ãã®ã§ã mecab-noun_parser ã¨ãã¦å ¬éãã¾ããã ã¤ã³ã¹ãã¼ã«æ¹æ³ Gemfile ã«ä»¥ä¸ãæ¸ã㦠bundle ãã¾ãã gem 'mecab' gem 'mecab-noun_parser' ãã¡ãããå¥é MeCab æ¬ä½ã®ã¤ã³ã¹ãã¼ã«ãè¡ãªãå¿ è¦ãããã¾ãã 使ãæ¹ ä½¿ãæ¹ã¨ãã¦ã¯ã MeCab::NounParser ã®ã¤ã³ã¹ã¿ã³ã¹ãçæããããã«è§£æãããæç« ã追å ãã¾ãã parse ã¡ã½ããã§ããã解æãã nouns ã¡ã½ããã§çµæãåå¾ã§ãã¾ãã require 'mecab' require 'mecab-noun_parser' parser = MeCab::NounParser.new parser << 'Rubyã¯ãæ軽ãªãªãã¸ã§
{{#tags}}- {{label}}
{{/tags}}