Convert English text to numbers
Lingua::EN::Words2Nums converts English text into numbers. It supports both ordinal and cardinal numbers, negative numbers, and very large numbers. The main subroutine, which is exported by default, is words2nums(). This subroutine, when fed a string, will attempt to convert it into a number. If it succeeds, the number will be returned. If it fails, it returns undef.
$
pkg install p5-Lingua-EN-Words2NumsOrigin
textproc/p5-Lingua-EN-Words2Nums
Size
16.5KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
1 packages
Required by
1 packages