Lingua::TagSet::Tag.3pm

Langue: en

Version: 2006-08-22 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

Sommaire

NAME

Lingua::TagSet::Tag - Tag object for Lingua::TagSet

Constructor


new(%features)


new(%features)

Creates and returns a new "Lingua::TagSet::Tag" object.

$tag->get_tokens()


$tag->get_tokens()

Returns the tokens composing the tag.

$tag->set_tokens(@tokens)


$tag->set_tokens(@tokens)

Sets the tokens composing the tag.

$tag->get_token($id)


$tag->get_token($id)

Returns one of the token composing the tag.

$tag->set_token($id, $values)


$tag->set_token($id, $values)

Sets one of the token composing the tag.

$tag->insert_token($id, $values)


$tag->insert_token($id, $values)

Insert a new token in the tag, and shift the existing ones.