MeCab‚ÌWindows”Å‚ðƒCƒ“ƒXƒg[ƒ‹‚µ‚Ä‚Ý‚é

¡\‘z’†‚̃AƒvƒŠ‚ÌŠJ”­‚ÉŒ`‘Ô‘f‰ðÍ‚ª•K—v‚Ȃ̂ŁA
‚Æ‚è‚ ‚¦‚¸ƒCƒ“ƒXƒg[ƒ‹‚µ‚Ä‚Ý‚éB

Œ`‘Ô‘f‰ðÍ‚É‚ÍYahooAPI‚Ƃ��‚¤‘I‘ðŽˆ‚à‚ ‚Á‚½‚Ì‚¾‚¯‚ǁA
‚P“ú‚Ì—˜—pï¿½ï¿½ŒÀ‚ª50000‰ñ‚Å1ƒŠƒNƒGƒXƒg100ƒLƒƒoƒCƒgˆÈ‰º‚Ƃ��‚¤ï¿½ï¿½ŒÀ‚ªA
¡‰ñ‚̃AƒvƒŠ‚É‚ÍŒµ‚µ‚»‚¤‚¾‚Á‚½‚Ì‚ÅMeCab‚ð‘I‘ð‚µ‚½B

ŒöŽ®ƒTƒCƒg
http://mecab.sourceforge.net/


¡‰ñƒCƒ“ƒXƒg[ƒ‹‚·‚éƒo[ƒWƒ‡ƒ“‚́u0.98v

Žè‡
------------------------------
1. ƒ_ƒEƒ“ƒ[ƒh
2. ƒCƒ“ƒXƒg[ƒ‹
3. “®ìŠm”F

1. ƒ_ƒEƒ“ƒ[ƒh
ˆÈ‰º‚̃TƒCƒg‚©‚çWindows”Å‚Ìexeƒtƒ@ƒCƒ‹umecab-0.98.exev‚ðƒ_ƒEƒ“ƒ[ƒh‚·‚éB
http://sourceforge.net/projects/mecab/files/


2. ƒCƒ“ƒXƒg[ƒ‹
ƒ_ƒEƒ“ƒ[ƒh‚µ‚½exeƒtƒ@ƒCƒ‹‚ðƒ_ƒuƒ‹ƒNƒŠƒbƒN‚·‚éB

A. Ž«‘‚̕��ŽšƒR[ƒh
@Ž«‘‚̕��ŽšƒR[ƒh‚́A¡‰ñuUTF-8v‚ð‘I‘ð

‚ ‚Æ‚Í‚»‚̂܂܁uŽŸ‚ցv‚ŁB

Ž«‘‚̍ìï¿½ï¿½‚É‚P•ª‚Ù‚Ç‚©‚©‚é‚ƃƒbƒZ[ƒW‚ªo‚邪A
10•b‚قǂŏI‚í‚Á‚½B

ƒCƒ“ƒXƒg[ƒ‹‚͈ȏãB

3. “®ìŠm”F
Ž«‘‚̕��ŽšƒR[ƒh‚ðuShift-JISv‚É‚µ‚½l‚́A
‚�N‚»‚ç‚­ƒRƒ}ƒ“ƒhƒvƒƒ“ƒvƒgã‚Å‚¤‚Ü‚­“®ìŠm”F‚ª‚Å‚«‚éB
ŒöŽ®ƒTƒCƒg‚́u‚Æ‚è‚ ‚¦‚¸‰ðÍ‚µ‚Ä‚Ý‚év‚ðŽQÆB
http://mecab.sourceforge.net/#parse

Ž©•ª‚ÍŽ«‘‚̕��ŽšƒR[ƒh‚ðuUTF-8v‚É‚µ‚½‚̂ŁA
ƒtƒ@ƒCƒ‹‚Ì“ü—́Ao—Í‚Å“®ìŠm”F‚ðs‚¤B

ˆÈ‰º‚̃tƒ@ƒCƒ‹‚ðì‚éB

ƒtƒ@ƒCƒ‹–¼Fin.txt
•ï¿½ï¿½ŽšƒR[ƒhFUTF-8
ƒtƒ@ƒCƒ‹‚Ì’†gFŽ„‚Í‘–‚è‚È‚ª‚çl‚¦‚éƒGƒ“ƒWƒjƒA‚Å‚·B

‚»‚µ‚½‚çAƒRƒ}ƒ“ƒhƒvƒƒ“ƒvƒgã‚ŁA
mecab.exe in.txt -o out.txt

‚Æ“ü—Í‚µ‚ÄŽÀs‚·‚éB

Œ‹‰Ê‚ªˆÈ‰º‚̂Ƃ�N‚è‚É‚È‚Á‚½‚çOKB
Ž„	–¼ŽŒ,‘ã–¼ŽŒ,ˆê”Ê,*,*,*,Ž„,ƒƒ^ƒV,ƒƒ^ƒV
‚Í •ŽŒ,ŒW•ŽŒ,*,*,*,*,‚Í,ƒn,ƒ
‘–‚è “®ŽŒ,Ž©—��,*,*,ŒÜ’iEƒ‰s,˜A—pŒ`,‘–‚é,ƒnƒVƒŠ,ƒnƒVƒŠ
‚È‚ª‚ç •ŽŒ,Ú‘�}•ŽŒ,*,*,*,*,‚È‚ª‚ç,ƒiƒKƒ‰,ƒiƒKƒ‰
l‚¦‚é “®ŽŒ,Ž©—��,*,*,ˆê’i,Šî–{Œ`,l‚¦‚é,ƒJƒ“ƒKƒGƒ‹,ƒJƒ“ƒKƒGƒ‹
ƒGƒ“ƒWƒjƒA –¼ŽŒ,ˆê”Ê,*,*,*,*,ƒGƒ“ƒWƒjƒA,ƒGƒ“ƒWƒjƒA,ƒGƒ“ƒWƒjƒA
‚Å‚· •“®ŽŒ,*,*,*,“ÁŽêEƒfƒX,Šî–{Œ`,‚Å‚·,ƒfƒX,ƒfƒX
B ‹L†,‹å“_,*,*,*,*,B,B,B
EOS


ˆÓŠO‚Æ‚ ‚Á‚³‚è“®‚��‚½B
ƒ^ƒOFmecab
posted by handsrecs at 00:25 | Comment(0) | TrackBack(0) | “ú‹L | ‚}‚̃uƒƒO‚Ì“ÇŽÒ‚É‚È‚é | XVî•ñ‚ðƒ`ƒFƒbƒN‚·‚é
‚�}‚Ì‹LŽ–‚ւ̃Rƒƒ“ƒg
ƒRƒƒ“ƒg‚ð‘‚­
‚�N–¼‘O:

ƒ[ƒ‹ƒAƒhƒŒƒX:

ƒz[ƒ€ƒy[ƒWƒAƒhƒŒƒX:

ƒRƒƒ“ƒg:

”FØƒR[ƒh: [•K{“ü—Í]


¦‰æ‘œ‚Ì’†‚̕��Žš‚𔼊p‚Å“ü—Í‚µ‚Ä‚­‚¾‚³‚��B
¦ƒuƒƒOƒI[ƒi[‚ª³”F‚µ‚½ƒRƒƒ“ƒg‚Ì‚Ý•\Ž¦‚³‚ê‚Ü‚·B

‚�}‚Ì‹LŽ–‚ւ̃gƒ‰ƒbƒNƒoƒbƒN