CaBoCha の解析結果を理解しよう.
とりあえず CaBoCha に付属のCプログラム example.c を一寸変えて&ref(): File not found: "cabocha.c" at page "CaBoCha"; ,実行してみる.
$ ./cabocha FROMAT_TREE = <PERSON>太郎</PERSON>は---------D <PERSON>花子</PERSON>が-D | 持っている-D | 本を---D 次郎に-D 渡した。 EOS * cid = 0 link = 5D head_pos = 0 / func_pos = 1 score = -0.849263 surface = 太郎 feature = 名詞,固有名詞,人名,名,*,*,太郎,タロウ,タロー ne = B-PERSON surface = は feature = 助詞,係助詞,*,*,*,*,は,ハ,ワ ne = O * cid = 1 link = 2D head_pos = 0 / func_pos = 1 score = 1.470467 surface = 花子 feature = 名詞,固有名詞,人名,名,*,*,花子,ハナコ,ハナコ ne = B-PERSON surface = が feature = 助詞,格助詞,一般,*,*,*,が,ガ,ガ ne = O * cid = 2 link = 3D head_pos = 0 / func_pos = 2 score = 1.116824 surface = 持っ feature = 動詞,自立,*,*,五段・タ行,連用タ接続,持つ,モッ,モッ ne = O surface = て feature = 助詞,接続助詞,*,*,*,*,て,テ,テ ne = O surface = いる feature = 動詞,非自立,*,*,一段,基本形,いる,イル,イル ne = O * cid = 3 link = 5D head_pos = 0 / func_pos = 1 score = -0.849263 surface = 本 feature = 名詞,一般,*,*,*,*,本,ホン,ホン ne = O surface = を feature = 助詞,格助詞,一般,*,*,*,を,ヲ,ヲ ne = O * cid = 4 link = 5D head_pos = 1 / func_pos = 2 score = -0.849263 surface = 次 feature = 名詞,一般,*,*,*,*,次,ツギ,ツギ ne = O surface = 郎 feature = 名詞,一般,*,*,*,*,郎,ロウ,ロー ne = O surface = に feature = 助詞,格助詞,一般,*,*,*,に,ニ,ニ ne = O * cid = 5 link = -1D head_pos = 0 / func_pos = 1 score = 0.000000 surface = 渡し feature = 動詞,自立,*,*,五段・サ行,連用形,渡す,ワタシ,ワタシ ne = O surface = た feature = 助動詞,*,*,*,特殊・タ,基本形,た,タ,タ ne = O surface = 。 feature = 記号,句点,*,*,*,*,。,。,。 ne = O EOS