package Lingua::Boolean::French; # ABSTRACT: provides French rules to Lingua::Boolean use strict; use warnings; use utf8; our $VERSION = '0.007'; # VERSION sub new { my $class = shift; my $LANG = 'fr'; my $LANGUAGE = 'Français'; my $match; $match->{True} = [qr{^oui$}i, qr{^ok$}i, qr{^vraie?$}i, qr{^[1-9]$}]; $match->{False} = [qr{^n(?:on?)?$}i, qr{^faux$}i, qr{^0$}]; my $self = { LANG => $LANG, LANGUAGE => $LANGUAGE, match => $match, }; bless $self, $class; return $self; } 1; __END__ =pod =encoding utf-8 =head1 NAME Lingua::Boolean::French - provides French rules to Lingua::Boolean =head1 VERSION version 0.007 =head1 DESCRIPTION This module provides rules for French to C. =head1 METHODS =head2 new C creates a new C object. This is intended for consumption by L only. =head1 SEE ALSO L =head1 AVAILABILITY The project homepage is L. The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit L to find a CPAN site near you, or see L. =head1 SOURCE The development version is on github at L and may be cloned from L =head1 BUGS AND LIMITATIONS You can make new bug reports, and view existing ones, through the web interface at L. =head1 AUTHOR Mike Doherty =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2010 by Mike Doherty. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut