以åãæ£è¦è¡¨ç¾ã§ææ©ããæåãã¶ã£ãåãæ¹æ³ã試ãã¦ããã ä»åº¦ã¯PHPããRubyã§åããã¨ãã£ãã PHPã§åãã¡æ¸ãããã®ã«ãmecabã¨ãå ¥ãã¦ãããªãã åèªå¢çã§æåãåå²ããã æåã®å¢çã§ãæç« ãåå²ããã #/usr/bin/env ruby require 'rubygems' $KCODE ='u' s = "ããã¯ãã¹ãã§ããåä½ããããªã" regex = /[ä¸-é¾ ]+|[ã-ã]+|[ã¡-ã´ã¼]+|[a-zA-Z0-9]+|[ï½-ï½ï¼¡-Zï¼-ï¼]+/ p s.scan( regex ) #=>["ããã¯", "ãã¹ã", "ã§ã", "åä½", "ããããªã"] ãããªæãã«ãªãã¾ããããããã使ãããã§ãããæåã³ã¼ãæå®ããªãã¨åããªãããã§ãã ãã¥ã¼ã¹ã®ä¸ããããã¼ã¯ã¼ãã®ç»å ´åæ°ãæ°ããã ã¨ããããã§ãéªç¥ã¿ã¤ã¬ã¼ã¹ã®ãã¥ã¼ã¹ã®ä¸ããããã¼ã¯ã¼ãã
{{#tags}}- {{label}}
{{/tags}}