From 4812a813a272261385d34d432cd1f2c46d403704 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Mon, 16 Mar 2015 23:18:23 -0500 Subject: [PATCH] gnu: Add Lingua-EN-Inflect-Number. * gnu/packages/language.scm (perl-lingua-en-inflect-number): New variable. --- gnu/packages/language.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index c02771d12a..2fdffa0b72 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -67,6 +67,28 @@ provided. Where appropriate, \"classical\" variants (for example: \"brother\" -> \"brethren\", \"dogma\" -> \"dogmata\", etc.) are also provided.") (license (package-license perl)))) +(define-public perl-lingua-en-inflect-number + (package + (name "perl-lingua-en-inflect-number") + (version "1.11") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/" + "Lingua-EN-Inflect-Number-" version ".tar.gz")) + (sha256 + (base32 + "0rvgrff96ja7fqr79dszmiyv2wz4izw82znah0mx9szkir657gfz")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-lingua-en-inflect" ,perl-lingua-en-inflect))) + (home-page "http://search.cpan.org/dist/Lingua-EN-Inflect-Number") + (synopsis "Force number of words to singular or plural") + (description "This module extends the functionality of Lingua::EN::Inflect +with three new functions for determining plurality of a word and forcefully +converting a word to singular or plural.") + (license (package-license perl)))) + (define-public perl-lingua-en-words2nums (package (name "perl-lingua-en-words2nums")