1Lingua::EN::Inflect::PhUrsaesre(C3o)ntributed Perl DocumLeinntgautai:o:nEN::Inflect::Phrase(3)
2
3
4

NAME

6       Lingua::EN::Inflect::Phrase - Inflect short English Phrases
7

SYNOPSIS

9         use Lingua::EN::Inflect::Phrase;
10         use Test::More tests => 2;
11
12         my $plural   = Lingua::EN::Inflect::Phrase::to_PL('green egg and ham');
13
14         is $plural, 'green eggs and ham';
15
16         my $singular = Lingua::EN::Inflect::Phrase::to_S('green eggs and ham');
17
18         is $singular, 'green egg and ham';
19

DESCRIPTION

21       Attempts to pluralize or singularize short English phrases.
22
23       If it doesn't work, please email or submit to RT the example you tried,
24       and I'll try to fix it.
25

OPTIONAL EXPORTS

27       "to_PL", "to_S"
28

SUBROUTINES

30   to_PL
31       Attempts to pluralizes a phrase unless already plural.
32
33   to_S
34       Attempts to singularize a phrase unless already singular.
35

BUGS

37       Please report any bugs or feature requests to
38       "bug-lingua-en-inflect-phrase at rt.cpan.org", or through the web
39       interface at
40       http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Lingua-EN-Inflect-Phrase
41       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Lingua-EN-Inflect-
42       Phrase>.  I will be notified, and then you'll automatically be notified
43       of progress on your bug as I make changes.
44

SUPPORT

46       More information at:
47
48       ·   RT: CPAN's request tracker
49
50           http://rt.cpan.org/NoAuth/Bugs.html?Dist=Lingua-EN-Inflect-Phrase
51           <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Lingua-EN-Inflect-Phrase>
52
53       ·   AnnoCPAN: Annotated CPAN documentation
54
55           http://annocpan.org/dist/Lingua-EN-Inflect-Phrase
56           <http://annocpan.org/dist/Lingua-EN-Inflect-Phrase>
57
58       ·   CPAN Ratings
59
60           http://cpanratings.perl.org/d/Lingua-EN-Inflect-Phrase
61           <http://cpanratings.perl.org/d/Lingua-EN-Inflect-Phrase>
62
63       ·   Search CPAN
64
65           http://search.cpan.org/dist/Lingua-EN-Inflect-Phrase/
66           <http://search.cpan.org/dist/Lingua-EN-Inflect-Phrase/>
67

REPOSITORY

69         git clone git://github.com/rkitover/lingua-en-inflect-phrase.git lingua-en-inflect-phrase
70

SEE ALSO

72       Lingua::EN::Inflect, Lingua::EN::Inflect::Number, Lingua::EN::Tagger
73

AUTHOR

75       Rafael Kitover <rkitover@cpan.org>
76
78       Copyright (c) 2010 Rafael Kitover (rkitover@cpan.org).
79
80       This program is free software; you can redistribute it and/or modify it
81       under the terms of either: the GNU General Public License as published
82       by the Free Software Foundation; or the Artistic License.
83
84       See http://dev.perl.org/licenses/ for more information.
85
86
87
88perl v5.12.2                      2010-03-17    Lingua::EN::Inflect::Phrase(3)
Impressum