Text::MeCab::Node(3pm)

Text::MeCab::Node3pm

Mecab node object

Usage

  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);

Overview

Text::MeCab::Node encapsulates the mecab node structure returned by parsing some text.

Methods

format($mecab)

Given a mecab instance, formats the node as specified by the option arguments (e.g. --node-format)

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

From libtext-mecab-perl 0.20016-5+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.