Text::MeCab::Node(3pm) | User Contributed Perl Documentation | Text::MeCab::Node(3pm) |
Text::MeCab::Node - MeCab Node Object
use Text::MeCab; my $mecab = Text::MeCab->new(); my $node = $mecab->parse($text); $node->id; $node->surface; $node->length; $node->rlength; $node->feature; $node->next; $node->prev; $node->rcattr; $node->lcattr; $node->stat; $node->isbest; $node->alpha; $node->beta; $node->prob; $node->wcost; $node->cost; $node->format($mecab);
Text::MeCab::Node encapsulates the mecab node structure returned by parsing some text.
Given a mecab instance, formats the node as specified by the option arguments (e.g. --node-format)
Text::MeCab
2018-11-01 | perl v5.28.0 |