NAME

Lingua::Features::Structure - Structure object for Lingua::Features

Constructor

new(%tags)

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

from_string($string)

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

Accessors

$structure->tags(%tags)

Sets of returns the tags composing the structure.

$structure->tag($id, @values)

Sets of returns tag $id.

Other methods

$structure->to_string()

Dumps the structure in string format.

$structure->to_xml()

Dumps the structure 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>