./textproc/p5-Lingua-EN-Words2Nums, Perl module to convert English text to numbers

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q2, Version: 0.18nb8, Package name: p5-Lingua-EN-Words2Nums-0.18nb8, Maintainer: pkgsrc-users

This module 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.


Master sites: (Expand)

Filesize: 7.243 KB

Version history: (Expand)