Permalink
Browse files

more POD improvements

  • Loading branch information...
1 parent 3be9e9c commit be87fda7abe96fa6c38eace0f942efc185435089 @rkitover committed Mar 17, 2010
Showing with 14 additions and 5 deletions.
  1. +3 −0 Changes
  2. +11 −5 lib/Lingua/EN/Inflect/Phrase.pm
View
@@ -1,5 +1,8 @@
Revision history for Lingua-EN-Inflect-Phrase
+0.04 2010-03-17 21:30:04
+ - POD improvements
+
0.03 2010-03-16 20:09:31
- clean up code
@@ -12,7 +12,7 @@ Lingua::EN::Inflect::Phrase - Inflect short English Phrases
=cut
-our $VERSION = '0.03';
+our $VERSION = '0.04';
=head1 SYNOPSIS
@@ -44,10 +44,6 @@ our @EXPORT_OK = qw/to_PL to_S/;
=head1 SUBROUTINES
-=head2 to_PL
-
-Attempts to pluralizes a phrase unless already plural.
-
=cut
my $NOUN = qr{(\S+)/(NN|CD)};
@@ -97,6 +93,12 @@ sub _inflect {
return $phrase;
}
+=head2 to_PL
+
+Attempts to pluralizes a phrase unless already plural.
+
+=cut
+
sub to_PL {
return _inflect(shift, 1, \&Lingua::EN::Inflect::Number::to_PL);
}
@@ -143,6 +145,10 @@ L<http://search.cpan.org/dist/Lingua-EN-Inflect-Phrase/>
=back
+=head1 REPOSITORY
+
+ git clone git://github.com/rkitover/lingua-en-inflect-phrase.git lingua-en-inflect-phrase
+
=head1 SEE ALSO
L<Lingua::EN::Inflect>, L<Lingua::EN::Inflect::Number>, L<Lingua::EN::Tagger>

0 comments on commit be87fda

Please sign in to comment.