Lingua::Features - Natural languages features


Lingua-Features documentation  | view source Contained in the Lingua-Features distribution.

Index


NAME

Top

Lingua::Features - Natural languages features

VERSION

Top

Version 0.3

DESCRIPTION

Top

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

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

SYNOPSIS

Top

    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

Top

AUTHOR

Top

Guillaume Rousse <grousse@cpan.org>


Lingua-Features documentation  | view source Contained in the Lingua-Features distribution.