inflect(1)

INFLECT(1) User Contributed Perl Documentation INFLECT(1)

NAME

inflect - perform plural inflections

SYNOPSIS

inflect [-c|--classical] STR

inflect [-c|--classical] -n|--noun NUM NOUN

inflect [-c|--classical] -v|--verb NUM VERB

inflect -h|--help

  inflect --noun 2 item         # items
  inflect --verb 2 has          # have
  inflect "The plural of $word is PL($word)"
  inflect "$n PL_N(package,$n) PL_V(has,$n) $m PL_N(bug,$m)"

DESCRIPTION

TODO: complete docs.

Interpolate "PL()", "PL_N()", "PL_V()", "PL_ADJ()", "A()", "AN()", "NUM()" and "ORD()" within strings.

OPTIONS

-c, --classical
Require "classical" plurals.
-h, --help
Display this help and exit.

AUTHOR

Written by Alexey Tourbin <at@altlinux.org>.

COPYING

Copyright (c) 2005 Alexey Tourbin, ALT Linux Team.

This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

SEE ALSO

Lingua::EN::Inflect

2023-11-23 perl v5.34.1