NAME

Text::Shirasu::Node - Shirasu Node Object for Text::MeCab

SYNOPSIS

use utf8;
use feature ':5.10';
use Text::Shirasu;
my $ts = Text::Shirasu->new;

$ts->parse("昨日の晩御飯は「鮭のふりかけ」と「味噌汁」だけでした。");

for my $node (@{ $ts->nodes }) {
    say $node->id;
    say $node->surface;
    say $node->length;
    say $node->rlength;
    say for @{ $node->feature };
    say $node->rcattr;
    say $node->lcattr;
    say $node->stat;
    say $node->isbest;
    say $node->alpha;
    say $node->beta;
    say $node->prob;
    say $node->wcost;
    say $node->cost;
}

DESCRIPTION

Text::Shirasu::Node like Text::MeCab::Node.

SEE ALSO

Text::Shirasu

AUTHOR

Kei Kamikawa <x00.x7f@gmail.com>