From: <sgs...@ni...> - 2003-03-31 14:35:53
|
たむらです。 On Mon, 31 Mar 2003 13:08:37 +0900 TADA Tadashi <sh...@sp...> wrote: > Hiroyuki Ikezoe <ik...@us...> wrote: > >これ、助詞はとれないんですかね? 辞書にさえあれば、品詞、品詞細分類、活用までとれるみたい。 http://cl.aist-nara.ac.jp/~taku-ku/software/mecab/#parse > >助詞とかとれたらへんてこ自動文章作成が欲しい。 > > そ、それは、人工無能「なんでやねん君」だな!? えーっと、たむらは形態素解析器のことを良く知らないのです。 # Namazuでわかち書きするために、KAKASIとChaSenがあるくらいしか (^^; XML-RPCでは、boolean,integer,string およびそれらの配列しか扱えないので Rubyでしか使わないなら、Marshalして返せば Hash も使えるし、逆にパースするのが 楽になって良いかも。 たむらとしては、プラグインを作る気はないのですが、使いたい人のために XML-RPCのインターフェースを提供するよ、ってことでリクエスト募集。 # 人工無能「なんでやねん君」から自分の日記にツッコミが入るってのは楽しそうだな。 後、どちらにせよ辞書を鍛える必要がかなりあると思われ。この辺は私の投稿した スクリプトで、いろいろ文章を入れてみれば判ります。 -- たむら (http://www.rubyist.net/~tamura/d/) |