[Note: This module is strictly in maintenance mode now. Take a look at the newer Lingua::EN::Inflexion module, which offers a cleaner and more convenient interface, has many more features (including plural->singular inflexions), and is also much better tested. If you have existing code that relies on Lingua::EN::Inflect, see the section of the documentation entitled "CONVERTING FROM LINGUA::EN::INFLECT". ]
The exportable subroutines of Lingua::EN::Inflect provide plural inflections, "a"/"an" selection for English words, and manipulation of numbers as words
Plural forms of all nouns, most verbs, and some adjectives are provided. Where appropriate, "classical" variants (for example: "brother" -> "brethren", "dogma" -> "dogmata", etc.) are also provided.
Pronunciation-based "a"/"an" selection is provided for all English words, and most initialisms.
It is also possible to inflect numerals (1,2,3) to ordinals (1st, 2nd, 3rd) and to English words ("one", "two", "three).
In generating these inflections, Lingua::EN::Inflect follows the Oxford English Dictionary and the guidelines in Fowler's Modern English Usage, preferring the former where the two disagree.
The module is built around standard British spelling, but is designed to cope with common American variants as well. Slang, jargon, and other English dialects are not explicitly catered for.
Where two or more inflected forms exist for a single word (typically a "classical" form and a "modern" form), Lingua::EN::Inflect prefers the more common form (typically the "modern" one), unless "classical" processing has been specified (see "MODERN VS CLASSICAL INFLECTIONS").
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
1.905-bp156.3.1 info | GA Release | 2023-07-22 | 15 SP6 |
|
|
1.905-bp155.2.12 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
1.905-bp154.1.64 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.903-bp153.1.20 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
1.903-bp152.3.20 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
1.903-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
1.903-bp151.2.15 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
1.903-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|