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::TagSet - Natural language tagset conversion

VERSION

Version 0.3.1

DESCRIPTION

This module allows to convert values between different tagsets used in natural language processing, using Lingua::Features as a pivot format

SYNOPSIS

    use Lingua::TagSet::Multext;

    # tagset to features conversions
    my $struct = Lingua::TagSet::Multext->tag2structure($multext);
    my $string = Lingua::TagSet::Multext->tag2string($multext);

    # features to tagset conversions
    my $multext = Lingua::TagSet::Multext->string2tag($string);
    my $multext = Lingua::TagSet::Multext->structure2tag($structure);

Lingua::TagSet->tag2structure()

Convert a tag to a features structure.

Lingua::TagSet->structure2tag()

Convert a features structure to a tag.

Lingua::TagSet->tag2string()

Convert a tag into a string representation of a features structure. The result is cached.

Lingua::TagSet->string2tag()

Convert a string representation of a features structure into a tag. The result is cached.

COPYRIGHT AND LICENSE

Copyright (C) 2004-2006, 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>