The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Text::Shirasu::Node - Shirasu Node Object

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>