Name : perl-Lingua-EN-Numericalize
| |
Version : 1.52
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.6.1
| Date : 2023-07-20 16:29:08
|
Group : Development/Libraries/Perl
| Source RPM : perl-Lingua-EN-Numericalize-1.52-lp155.6.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : Replaces English descriptions of numbers with numerals
|
Description :
This module interpolates English descriptions of numbers in a given string with their numeric counterparts. It supports both ordinal and cardinal numbers, negative numbers, and very large numbers.
The module exports a single function into the caller\'s namespace as follows:
* *str2nbr [string = $_]*
This function receives an optional string (using $_ if none is passed) and converts all English text that describes a number into its numeric equivalent. When called in a void context, the function sets $_ to the new value.
The module\'s behaviour is affected by the following variables:
* *$Lingua::EN::Numericalize::UK*
This variable may be set to indicate that the UK meaning of \'billion\' should be used. By default, this module uses the American meaning of this word :( Please note that all the related larger numbers e.g. trillion, quadrillion, etc. assume the chosen behaviour as well.
* *$Lingua::EN::Numericalize::debug*
If set to true, the module outputs on standard error messages useful for debugging.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-L/15.5/noarch |