NAME

Lingua::Features - Natural languages features

VERSION

Version 0.3.1

DESCRIPTION

This module implements natural languages features in Perl. Its brings the following advantages:

- type verification
- features and values normalization
- smart comparisons between structures

SYNOPSIS

use Lingua::Features;

my $struc = Lingua::Features::Structure->new(
    cat   => 'verb',
    type  => 'main',
    tense => [ qw/pres fut/ ],
    mode  => 'ind',
    pers  => '3',
    num   => 'sing'
);

print $struc->to_string();

print $struc->to_xml();

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>