Lingua::Features - Natural languages features


Lingua-Features documentation Contained in the Lingua-Features distribution.

Index


Code 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 Contained in the Lingua-Features distribution.
# $Id: Features.pm,v 1.13 2004/06/11 09:22:37 rousse Exp $
package Lingua::Features;

use Lingua::Features::Structure;
use strict;
use warnings;

our $VERSION = '0.3';

1;