BSD Ports

textproc/p5-Lingua-EN-Words2Nums 0.18p1 OpenBSD

convert English text to numbers

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Andrew Fresh <[email protected]>
Categories
textproc, perl5

Description

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.

In the other systems

The newest version among them is 0.18, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDtextproc/p5-Lingua-EN-Words2Nums0.18p1 newestno data-Andrew Fresh <[email protected]>-
FreeBSDtextproc/p5-Lingua-EN-Words2Nums0.18_1 newestnone known-[email protected]-
NetBSDtextproc/p5-Lingua-EN-Words2Nums0.18nb13 newestnone known-[email protected]2026-07-16
DragonFlytextproc/p5-Lingua-EN-Words2Nums0.18_1 newestnone known-[email protected]-
HardenedBSDtextproc/p5-Lingua-EN-Words2Nums0.18_1 newestno data-[email protected]-
GhostBSDtextproc/p5-Lingua-EN-Words2Nums0.18_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg_add p5-Lingua-EN-Words2Nums

From the ports tree:

cd /usr/ports/textproc/p5-Lingua-EN-Words2Nums && make install

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies