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

Lingua::Features::Tag - Tag object for Lingua::Features

Accessors

new($id, @values)

Creates and returns a new Lingua::Features::Tag object.

from_string($string)

Creates and returns a new Lingua::Features::Tag object from a string representation.

Accessors

$tag->id($id)

Sets or returns the tag id.

$tag->values(@values)

Sets or returns the tag values.

Other methods

$tag->to_string()

Dumps the tag in string format.

$tag->to_xml()

Dumps the tag in XML format.

COPYRIGHT AND LICENSE

Copyright (C) 2004, INRIA.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Guillaume Rousse <grousse@cpan.org>