Python:mecab: Install on Debian Lenny

deb09:~# aptitude install mecab
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Reading task descriptions… Done
The following NEW packages will be installed:
  libmecab1{a} mecab mecab-jumandic{a} mecab-utils{a}
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 13.4MB of archives. After unpacking 81.0MB will be used.
Do you want to continue? [Y/n/?]

…..

Unpacking libmecab1 (from …/libmecab1_0.97-1_i386.deb) …
Selecting previously deselected package mecab-utils.
Unpacking mecab-utils (from …/mecab-utils_0.97-1_i386.deb) …
Selecting previously deselected package mecab-jumandic.
Unpacking mecab-jumandic (from …/mecab-jumandic_5.1+20070304-3_all.deb) …
Selecting previously deselected package mecab.
Unpacking mecab (from …/archives/mecab_0.97-1_i386.deb) …
Processing triggers for man-db …
Setting up libmecab1 (0.97-1) …
Setting up mecab-utils (0.97-1) …
Setting up mecab-jumandic (5.1+20070304-3) …
Compiling Juman dictionary for Mecab.  This takes long time…
reading /usr/share/mecab/dic/juman/unk.def … 37
emitting double-array: 100% |###########################################|
reading /usr/share/mecab/dic/juman/ContentW.csv … 483161
reading /usr/share/mecab/dic/juman/Postp.csv … 104
reading /usr/share/mecab/dic/juman/Suffix.csv … 1163
reading /usr/share/mecab/dic/juman/Noun.keishiki.csv … 10
reading /usr/share/mecab/dic/juman/Demonstrative.csv … 76
reading /usr/share/mecab/dic/juman/Noun.hukusi.csv … 74
reading /usr/share/mecab/dic/juman/Rengo.csv … 913
reading /usr/share/mecab/dic/juman/Noun.suusi.csv … 46
reading /usr/share/mecab/dic/juman/AuxV.csv … 421
reading /usr/share/mecab/dic/juman/Noun.koyuu.csv … 29805
reading /usr/share/mecab/dic/juman/Special.csv … 124
reading /usr/share/mecab/dic/juman/Prefix.csv … 75
reading /usr/share/mecab/dic/juman/Assert.csv … 30
emitting double-array: 100% |###########################################|
reading /usr/share/mecab/dic/juman/matrix.def … 1509×1509
emitting matrix      : 100% |###########################################|

done!
Setting up mecab (0.97-1) …
Compiling Juman dictionary for Mecab.  This takes long time…
reading /usr/share/mecab/dic/juman/unk.def … 37
emitting double-array: 100% |###########################################|
reading /usr/share/mecab/dic/juman/ContentW.csv … 483161
reading /usr/share/mecab/dic/juman/Postp.csv … 104
reading /usr/share/mecab/dic/juman/Suffix.csv … 1163
reading /usr/share/mecab/dic/juman/Noun.keishiki.csv … 10
reading /usr/share/mecab/dic/juman/Demonstrative.csv … 76
reading /usr/share/mecab/dic/juman/Noun.hukusi.csv … 74
reading /usr/share/mecab/dic/juman/Rengo.csv … 913
reading /usr/share/mecab/dic/juman/Noun.suusi.csv … 46
reading /usr/share/mecab/dic/juman/AuxV.csv … 421
reading /usr/share/mecab/dic/juman/Noun.koyuu.csv … 29805
reading /usr/share/mecab/dic/juman/Special.csv … 124
reading /usr/share/mecab/dic/juman/Prefix.csv … 75
reading /usr/share/mecab/dic/juman/Assert.csv … 30
emitting double-array: 100% |###########################################|
reading /usr/share/mecab/dic/juman/matrix.def … 1509×1509
emitting matrix      : 100% |###########################################|

done!
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Writing extended state information… Done
Reading task descriptions… Done

deb09:~# aptitude install mecab-jumandic-utf8 mecab-ipadic-utf8
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Reading task descriptions… Done
The following NEW packages will be installed:
  mecab-ipadic{a} mecab-ipadic-utf8 mecab-jumandic-utf8
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.1MB of archives. After unpacking 54.7MB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information… Done
Get:1 http://ftp.jp.debian.org lenny/non-free mecab-ipadic 2.7.0+20070801-3 [12.1MB]
Get:2 http://ftp.jp.debian.org lenny/non-free mecab-ipadic-utf8 2.7.0+20070801-3 [4308B]
Get:3 http://ftp.jp.debian.org lenny/main mecab-jumandic-utf8 5.1+20070304-3 [3650B]
Fetched 12.1MB in 5min10s (39.0kB/s)
Selecting previously deselected package mecab-ipadic.
(Reading database … 59362 files and directories currently installed.)
Unpacking mecab-ipadic (from …/mecab-ipadic_2.7.0+20070801-3_all.deb) …
Selecting previously deselected package mecab-ipadic-utf8.
Unpacking mecab-ipadic-utf8 (from …/mecab-ipadic-utf8_2.7.0+20070801-3_all.deb) …
Selecting previously deselected package mecab-jumandic-utf8.
Unpacking mecab-jumandic-utf8 (from …/mecab-jumandic-utf8_5.1+20070304-3_all.deb) …
Setting up mecab-ipadic (2.7.0+20070801-3) …
Compiling IPA dictionary for Mecab.  This takes long time…
reading /usr/share/mecab/dic/ipadic/unk.def … 40
emitting double-array: 100% |###########################################|
reading /usr/share/mecab/dic/ipadic/Noun.place.csv … 72999
reading /usr/share/mecab/dic/ipadic/Adnominal.csv … 135
reading /usr/share/mecab/dic/ipadic/Postp.csv … 146
reading /usr/share/mecab/dic/ipadic/Noun.nai.csv … 42
reading /usr/share/mecab/dic/ipadic/Suffix.csv … 1393
reading /usr/share/mecab/dic/ipadic/Interjection.csv … 252
reading /usr/share/mecab/dic/ipadic/Noun.adjv.csv … 3328
reading /usr/share/mecab/dic/ipadic/Noun.demonst.csv … 120
reading /usr/share/mecab/dic/ipadic/Noun.verbal.csv … 12146
reading /usr/share/mecab/dic/ipadic/Others.csv … 2
reading /usr/share/mecab/dic/ipadic/Noun.adverbal.csv … 795
reading /usr/share/mecab/dic/ipadic/Noun.name.csv … 34202
reading /usr/share/mecab/dic/ipadic/Conjunction.csv … 171
reading /usr/share/mecab/dic/ipadic/Noun.proper.csv … 27327
reading /usr/share/mecab/dic/ipadic/Noun.number.csv … 42
reading /usr/share/mecab/dic/ipadic/Noun.others.csv … 151
reading /usr/share/mecab/dic/ipadic/Symbol.csv … 208
reading /usr/share/mecab/dic/ipadic/Adj.csv … 27210
reading /usr/share/mecab/dic/ipadic/Noun.org.csv … 16668
reading /usr/share/mecab/dic/ipadic/Noun.csv … 60477
reading /usr/share/mecab/dic/ipadic/Adverb.csv … 3032
reading /usr/share/mecab/dic/ipadic/Auxil.csv … 199
reading /usr/share/mecab/dic/ipadic/Filler.csv … 19
reading /usr/share/mecab/dic/ipadic/Verb.csv … 130750
reading /usr/share/mecab/dic/ipadic/Prefix.csv … 221
reading /usr/share/mecab/dic/ipadic/Postp-col.csv … 91
emitting double-array: 100% |###########################################|
reading /usr/share/mecab/dic/ipadic/matrix.def … 1316×1316
emitting matrix      : 100% |###########################################|

done!

Setting up mecab-ipadic-utf8 (2.7.0+20070801-3) …
Compiling IPA dictionary for Mecab.  This takes long time…
reading /usr/share/mecab/dic/ipadic/unk.def … 40
emitting double-array: 100% |###########################################|
reading /usr/share/mecab/dic/ipadic/Noun.place.csv … 72999
reading /usr/share/mecab/dic/ipadic/Adnominal.csv … 135
reading /usr/share/mecab/dic/ipadic/Postp.csv … 146
reading /usr/share/mecab/dic/ipadic/Noun.nai.csv … 42
reading /usr/share/mecab/dic/ipadic/Suffix.csv … 1393
reading /usr/share/mecab/dic/ipadic/Interjection.csv … 252
reading /usr/share/mecab/dic/ipadic/Noun.adjv.csv … 3328
reading /usr/share/mecab/dic/ipadic/Noun.demonst.csv … 120
reading /usr/share/mecab/dic/ipadic/Noun.verbal.csv … 12146
reading /usr/share/mecab/dic/ipadic/Others.csv … 2
reading /usr/share/mecab/dic/ipadic/Noun.adverbal.csv … 795
reading /usr/share/mecab/dic/ipadic/Noun.name.csv … 34202
reading /usr/share/mecab/dic/ipadic/Conjunction.csv … 171
reading /usr/share/mecab/dic/ipadic/Noun.proper.csv … 27327
reading /usr/share/mecab/dic/ipadic/Noun.number.csv … 42
reading /usr/share/mecab/dic/ipadic/Noun.others.csv … 151
reading /usr/share/mecab/dic/ipadic/Symbol.csv … 208
reading /usr/share/mecab/dic/ipadic/Adj.csv … 27210
reading /usr/share/mecab/dic/ipadic/Noun.org.csv … 16668
reading /usr/share/mecab/dic/ipadic/Noun.csv … 60477
reading /usr/share/mecab/dic/ipadic/Adverb.csv … 3032
reading /usr/share/mecab/dic/ipadic/Auxil.csv … 199
reading /usr/share/mecab/dic/ipadic/Filler.csv … 19
reading /usr/share/mecab/dic/ipadic/Verb.csv … 130750
reading /usr/share/mecab/dic/ipadic/Prefix.csv … 221
reading /usr/share/mecab/dic/ipadic/Postp-col.csv … 91
emitting double-array: 100% |###########################################|
reading /usr/share/mecab/dic/ipadic/matrix.def … 1316×1316
emitting matrix      : 100% |###########################################|

done!
Setting up mecab-jumandic-utf8 (5.1+20070304-3) …
Compiling Juman dictionary for Mecab.  This takes long time…
reading /usr/share/mecab/dic/juman/unk.def … 37
emitting double-array: 100% |###########################################|
reading /usr/share/mecab/dic/juman/ContentW.csv … 483161
reading /usr/share/mecab/dic/juman/Postp.csv … 104
reading /usr/share/mecab/dic/juman/Suffix.csv … 1163
reading /usr/share/mecab/dic/juman/Noun.keishiki.csv … 10
reading /usr/share/mecab/dic/juman/Demonstrative.csv … 76
reading /usr/share/mecab/dic/juman/Noun.hukusi.csv … 74
reading /usr/share/mecab/dic/juman/Rengo.csv … 913
reading /usr/share/mecab/dic/juman/Noun.suusi.csv … 46
reading /usr/share/mecab/dic/juman/AuxV.csv … iconv conversion failed. skip this entry
iconv conversion failed. skip this entry
iconv conversion failed. skip this entry
iconv conversion failed. skip this entry
iconv conversion failed. skip this entry
iconv conversion failed. skip this entry
415
reading /usr/share/mecab/dic/juman/Noun.koyuu.csv … 29805
reading /usr/share/mecab/dic/juman/Special.csv … 124
reading /usr/share/mecab/dic/juman/Prefix.csv … 75
reading /usr/share/mecab/dic/juman/Assert.csv … 30
emitting double-array: 100% |###########################################|
reading /usr/share/mecab/dic/juman/matrix.def … 1509×1509
emitting matrix      : 100% |###########################################|

done!

Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Writing extended state information… Done
Reading task descriptions… Done

hdknr@deb09:~$ mecab test.txt
この    連体詞,*,*,*,*,*,この,コノ,コノ
時代    名詞,一般,*,*,*,*,時代,ジダイ,ジダイ
、      記号,読点,*,*,*,*,、,、,、
地球    名詞,一般,*,*,*,*,地球,チキュウ,チキュー
に      助詞,格助詞,一般,*,*,*,に,ニ,ニ
やさしく        形容詞,自立,*,*,形容詞・イ段,連用テ接続,やさしい,ヤサシク,ヤサシク
、      記号,読点,*,*,*,*,、,、,、
人      名詞,一般,*,*,*,*,人,ヒト,ヒト
に      助詞,格助詞,一般,*,*,*,に,ニ,ニ
やさしい        形容詞,自立,*,*,形容詞・イ段,基本形,やさしい,ヤサシイ,ヤサシイ
暮らし  名詞,一般,*,*,*,*,暮らし,クラシ,クラシ
を      助詞,格助詞,一般,*,*,*,を,ヲ,ヲ
心がける        動詞,自立,*,*,一段,基本形,心がける,ココロガケル,ココロガケル
なんて  助詞,副助詞,*,*,*,*,なんて,ナンテ,ナンテ
当たり前        名詞,形容動詞語幹,*,*,*,*,当たり前,アタリマエ,アタリマエ
。      記号,句点,*,*,*,*,。,。,。
声高    名詞,形容動詞語幹,*,*,*,*,声高,コワダカ,コワダカ
に      助詞,副詞化,*,*,*,*,に,ニ,ニ
エコ    名詞,一般,*,*,*,*,エコ,エコ,エコ
を      助詞,格助詞,一般,*,*,*,を,ヲ,ヲ
アピール        名詞,サ変接続,*,*,*,*,アピール,アピール,アピール
する    動詞,自立,*,*,サ変・スル,基本形,する,スル,スル
の      名詞,非自立,一般,*,*,*,の,ノ,ノ
が      助詞,格助詞,一般,*,*,*,が,ガ,ガ
、      記号,読点,*,*,*,*,、,、,、
こっ    動詞,自立,*,*,五段・ラ行,連用タ接続,こる,コッ,コッ
恥ずかしい      形容詞,自立,*,*,形容詞・イ段,基本形,恥ずかしい,ハズカシイ,ハズカシイ
くらい  助詞,副助詞,*,*,*,*,くらい,クライ,クライ
!      記号,一般,*,*,*,*,!,!,!
毎日    名詞,固有名詞,組織,*,*,*,毎日,マイニチ,マイニチ
の      助詞,連体化,*,*,*,*,の,ノ,ノ
家事    名詞,一般,*,*,*,*,家事,カジ,カジ
に      助詞,格助詞,一般,*,*,*,に,ニ,ニ
とり入れ        動詞,自立,*,*,一段,連用形,とり入れる,トリイレ,トリイレ
たい    助動詞,*,*,*,特殊・タイ,基本形,たい,タイ,タイ
「      記号,括弧開,*,*,*,*,「,「,「
さりげ  名詞,ナイ形容詞語幹,*,*,*,*,さりげ,サリゲ,サリゲ
ない    助動詞,*,*,*,特殊・ナイ,基本形,ない,ナイ,ナイ
エコ    名詞,一般,*,*,*,*,エコ,エコ,エコ
技      名詞,接尾,一般,*,*,*,技,ワザ,ワザ
」      記号,括弧閉,*,*,*,*,」,」,」
、      記号,読点,*,*,*,*,、,、,、
ここ    名詞,代名詞,一般,*,*,*,ここ,ココ,ココ
で      助詞,格助詞,一般,*,*,*,で,デ,デ
共有    名詞,サ変接続,*,*,*,*,共有,キョウユウ,キョーユー
し      動詞,自立,*,*,サ変・スル,連用形,する,シ,シ
ましょ  助動詞,*,*,*,特殊・マス,未然ウ接続,ます,マショ,マショ
EOS

カテゴリー: 未分類 パーマリンク

コメントを残す

以下に詳細を記入するか、アイコンをクリックしてログインしてください。

WordPress.com ロゴ

WordPress.com アカウントを使ってコメントしています。 ログアウト / 変更 )

Twitter 画像

Twitter アカウントを使ってコメントしています。 ログアウト / 変更 )

Facebook の写真

Facebook アカウントを使ってコメントしています。 ログアウト / 変更 )

Google+ フォト

Google+ アカウントを使ってコメントしています。 ログアウト / 変更 )

%s と連携中