--- Alternative.pm 2002/02/12 14:31:15 1.5 +++ Alternative.pm 2003/11/18 10:30:10 1.8 @@ -179,11 +179,11 @@ =head1 SYNOPSIS - use Lingua::Spelling:Alternative; + use Lingua::Spelling::Alternative; - my $en = new Alternative; - $en->load_affix('/usr/lib/ispell/english.aff') or die $!; - print $en->alternatives("cars"); + my $en = new Lingua::Spelling::Alternative; + $en->load_affix('/usr/lib/ispell/default.aff') or die $!; + print join(" ",$en->alternatives("cars")),"\n"; =head1 DESCRIPTION @@ -213,7 +213,7 @@ =item alternatives -Function alternatives return all alternative spellings of particular +Function alternatives return array of all alternative spellings of particular word(s). It will also return spelling which are not correct if there is rule like that in affix file. @@ -223,6 +223,8 @@ a poor man's version of normalize (because we don't know gramatic of particular language, just some spelling rules). +=back + =head1 PRIVATE METHODS Documented as being not documented. @@ -234,11 +236,12 @@ =head1 BUGS -There are no known bugs. +There are no known bugs. If you find any, please report it in CPAN's +request tracker at: http://rt.cpan.org/ =head1 CONTACT AND COPYRIGHT -Copyright 2002 Dobrica Pavlinusic (dpavlin@rot13.org). All +Copyright 2002-2003 Dobrica Pavlinusic (dpavlin@rot13.org). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.