Kuromoji demo Enter Japanese text below in UTF-8 and click Tokenize. Note Input is limited to 512 chars for Search, Normal and Extended, and 32 chars for Viterbi. Viterbi needs SVG browser support.
tl;dr ï¼è¦ç´ï¼ Kuromojiã«ä»£ããæ°ããå½¢æ ç´ è§£æå¨ãSudachiã ãªã«ãè¯ãã®ï¼ ææ°ã®è¾æ¸ ä¼æ¥ï¼ã¯ã¼ã¯ã¹ã¢ããªã±ã¼ã·ã§ã³ãºï¼ã«ããç¶ç¶çãªæ´æ° è¤æ°ã®åå²åä½ â æ¤ç´¢ç¨éã§ã®åç¾çã¨é©åçã®åä¸ ãã©ã°ã¤ã³ã«ããæ¡å¼µ çã¡ã¢ãª Elasticsearchã§ä½¿ããã ãã©ã°ã¤ã³: WorksApplications/elasticsearch-sudachi 使ãæ¹ã¯å½è¨äºã®å¾åãã覧ãã ãã 注: ãã®è¨äºã®å·çè ã¯Sudachiã®éçºã«é¢ãã£ã¦ãã¾ã ãã¾ãã¾ãªå½¢æ ç´ è§£æå¨ å½¢æ ç´ è§£æã¯ãä¼çµ±çãªèªç¶è¨èªå¦çï¼Natural Language Processing, NLPï¼ã«ããã¦åºç¤ã¨ãªãæè¡ã§ããããã¦ä¸ã®ä¸ã«ã¯ãã¾ãã¾ãªå½¢æ ç´ è§£æå¨ãåå¨ãã¾ãã販売ããã¦ãããã®ãããã¾ãããä¸è¬ã«å ¬éããã¦ãããã®ã ãã§ãããã¤ãä¾ããããã¨ãJUMANã¨RNNLMãå©
Java ã§æ¸ãããæ¥æ¬èªå½¢æ ç´ è§£æã©ã¤ãã©ãª Kuromoji ã Perl ãã使ã£ã¦ã¿ãããªã¼ãã¨æã£ã¦ãå¥ã®è¨èªã®ããã°ã©ã ãã使ãããããããªã¤ã³ã¿ã¼ãã§ã¤ã¹ãæ¸ãã¾ããã Kuromoji ã«ã¤ã㦠kuromoji - japanese morphological analyzer Java ã§æ¸ããããªã¼ãã³ã½ã¼ã¹ã®æ¥æ¬èªã®å½¢æ ç´ è§£æã©ã¤ãã©ãªã§ãã æ¤ç´¢ç¨ã®ã©ã¤ãã©ãªãããã¦ãApache Lucene 㨠Apache Solr ã«çµã¿è¾¼ã¾ãã¦ãããããã§ãã ãã¡ããæ¤ç´¢ã¨ã³ã¸ã³ã¨ã¯ç¬ç«ãã¦å©ç¨ãããã¨ãå¯è½ã§ãã ç¬ç«ãã¦ä½¿ç¨ããå ´åã¯ãåã« jar ãã¡ã¤ã«ããã¦ã³ãã¼ããã¦ã㦠Java ã®ã©ã¤ãã©ãªãã¹ã«è¿½å ããã ã (ãããã¯å ¬éããã¦ãã Maven ãªãã¸ããªã使ç¨ãã¦ä¾åé¢ä¿ã解決ããã ã) ã§å½¢æ ç´ è§£æã§ããããã«ãªãã¾ãã 便å©ã§ããã Java
solr3.6ãã¤ãã«ãªãªã¼ã¹ããã¾ãããã solr3.6ã«ãªã£ã¦ãatilikaãä½ã£ã¦ããã æ¥æ¬èªå½¢æ ç´ è§£ææ©ã§ãããkuromojiããæ¨æºæè¼ãããäºã«ãªãã¾ããã æ¯è¼çæ°ãããpure javaãªã®ã§ãsenãgosenã§ã¯ãªãkuromojiã使ã£ã¦ããã¨ãããã¨æãã¾ãã ï¼lucene-gosenãããã§ããããã¯ãæ¨æºæè¼ã使ã£ã¦è¡ãããï¼ æ©ésynonymï¼å義èªï¼ã®è¨å®ããã¦ã¿ã¾ãã field_typeãtext_jaã®ãã®ããkuromojiã«ããå½¢æ ç´ ã®è¨å®ã®ããã§ãã ã¾ãã¯analyzerã®è¨å®ããqueryã¨indexã«åãã¾ãã <fieldType name="text_ja" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
è·å ´ã®äººã®ç¹ããã§ã声ããããã ãã¦ãKuromojiã¨ããå½¢æ ç´ è§£æã¨ã³ã¸ã³ãç´¹ä»ãã¦ããã ãã¾ããã â Kuromoji ATILIKAã¨ããææ¤ç´¢ã¨ã³ã¸ã³ä¼ç¤¾ã«å¤ãã¦ãã人ã®ä¼ç¤¾ã§ä½ã£ã¦ãã Apacheã©ã¤ã»ã³ã¹ãªãã¥ã¢Javaãªå½¢æ ç´ è§£æã¨ã³ã¸ã³ã§ãã Javaã£ã¦è¨ãäºã§Mavenã§ãã²ãã²ã§ããããã§ãã http://atilika.org/ãã¡ãã§ç´¹ä»ããã¦ãã¾ãã ï¼é»æåã£ã¦ã®ã¯æ¤ç©ã®ååã§ããã£ããã§ããã¤ã¾ãããã®äºãè¨ããã ããã§ã ï¼ãããã¢ãã¼ãã«ãªãã ãã¼ã¨è¦ãã¦ããã ãã¾ããï½ â å½¢æ ç´ è§£æ / N-Gram å½¢æ ç´ è§£æã¨N-Gramãã¨ãã³ã¬ç³»ã ã¨ããããæãã§ããããã®è¾ºã®ãµãã¼ããããã¦ã¾ãã ï¼è©³ãã話ãèããã¦ããã£ãã®ã§ãããããããã®ç¥èä¸è¶³ã¨è±èªåä¸è¶³ã§ã¤ãã¤ãâ¦orz â è¾æ¸ IPAã®ã¤ãããã¼ã¹ã«ãªã£ã¦ãã¦ãæ¡å¼µããäºãåºæ¥ã¾ã
æ¦è¦ Javaã®æ¯è¼çæ°ããå½¢æ ç´ è§£æå¨ãKuromojiã lucene-gosenãGomokuã®ããã«è¾æ¸å å ã§ãjarãè½ã¨ãã°ãã®å ´ã§å©ç¨ã§ããUnidicã«å¯¾å¿ãã¦ãã¦ãã½ã¼ã¹ãLuceneã®trunkã«ã³ãããããã¦ããã¨ãããä½ãã¨æ°ã«ãªãç¹å¾´ã®æã¡ä¸»ã è¤æ°ã®ã¢ã¼ããæã£ã¦ããããã§ãSearchã¢ã¼ãã使ãã¨ãæ¥æ¬çµæ¸æ°èãããæ¥æ¬ | çµæ¸ | æ°èãã®ããã«æ¤ç´¢ã§å©ç¨ããããå½¢ã«ã°ããã¦è§£æãã¦ãããããExtendedã¢ã¼ãã使ãã¨æªç¥èªãuni-gramã«ãã¦ããããããããããã ä»æ¥ã¯ãããªKuromojiããã®å°å ¥ããç°¡æãªä½¿ãæ¹ã¾ã§ãããã£ã¨è¿½ãããã¦ã¿ãã å°å ¥ ã¾ãã¯ä¸è¨ãã¼ã¸ãããã¦ã³ãã¼ããä»åã¯kuromoji-0.7.5.tar.gzãå©ç¨ã Downloads - atilika/kuromoji https://github.com/at
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}