mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Add p5-Lingua-EN-Words2Nums 0.18
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. WWW: http://search.cpan.org/dist/Lingua-EN-Words2Nums/
This commit is contained in:
parent
8f5d1497ab
commit
2c48e40f63
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305065
5 changed files with 38 additions and 0 deletions
|
@ -576,6 +576,7 @@
|
||||||
SUBDIR += p5-Lingua-EN-Summarize
|
SUBDIR += p5-Lingua-EN-Summarize
|
||||||
SUBDIR += p5-Lingua-EN-Syllable
|
SUBDIR += p5-Lingua-EN-Syllable
|
||||||
SUBDIR += p5-Lingua-EN-Tagger
|
SUBDIR += p5-Lingua-EN-Tagger
|
||||||
|
SUBDIR += p5-Lingua-EN-Words2Nums
|
||||||
SUBDIR += p5-Lingua-Ident
|
SUBDIR += p5-Lingua-Ident
|
||||||
SUBDIR += p5-Lingua-Identify
|
SUBDIR += p5-Lingua-Identify
|
||||||
SUBDIR += p5-Lingua-Ispell
|
SUBDIR += p5-Lingua-Ispell
|
||||||
|
|
20
textproc/p5-Lingua-EN-Words2Nums/Makefile
Normal file
20
textproc/p5-Lingua-EN-Words2Nums/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= Lingua-EN-Words2Nums
|
||||||
|
PORTVERSION= 0.18
|
||||||
|
CATEGORIES= textproc perl5
|
||||||
|
MASTER_SITES= CPAN
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= sunpoet@FreeBSD.org
|
||||||
|
COMMENT= Convert English text to numbers
|
||||||
|
|
||||||
|
LICENSE= ART10 GPLv1
|
||||||
|
LICENSE_COMB= dual
|
||||||
|
|
||||||
|
PERL_CONFIGURE= yes
|
||||||
|
|
||||||
|
MAN3= Lingua::EN::Words2Nums.3
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
textproc/p5-Lingua-EN-Words2Nums/distinfo
Normal file
2
textproc/p5-Lingua-EN-Words2Nums/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
SHA256 (Lingua-EN-Words2Nums-0.18.tar.gz) = 686556797cd2a4eaa066f19bbf03ab25c06278292c9ead2f187dfd9031ea1d85
|
||||||
|
SIZE (Lingua-EN-Words2Nums-0.18.tar.gz) = 7417
|
8
textproc/p5-Lingua-EN-Words2Nums/pkg-descr
Normal file
8
textproc/p5-Lingua-EN-Words2Nums/pkg-descr
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
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.
|
||||||
|
|
||||||
|
WWW: http://search.cpan.org/dist/Lingua-EN-Words2Nums/
|
7
textproc/p5-Lingua-EN-Words2Nums/pkg-plist
Normal file
7
textproc/p5-Lingua-EN-Words2Nums/pkg-plist
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
%%SITE_PERL%%/Lingua/EN/Words2Nums.pm
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN/Words2Nums/.packlist
|
||||||
|
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN/Words2Nums
|
||||||
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN
|
||||||
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua
|
||||||
|
@dirrmtry %%SITE_PERL%%/Lingua/EN
|
||||||
|
@dirrmtry %%SITE_PERL%%/Lingua
|
Loading…
Add table
Reference in a new issue