gnu: Add Lingua-EN-Inflect-Number.
* gnu/packages/language.scm (perl-lingua-en-inflect-number): New variable.
This commit is contained in:
parent
57ff0e04f1
commit
4812a813a2
|
@ -67,6 +67,28 @@ provided. Where appropriate, \"classical\" variants (for example: \"brother\"
|
||||||
-> \"brethren\", \"dogma\" -> \"dogmata\", etc.) are also provided.")
|
-> \"brethren\", \"dogma\" -> \"dogmata\", etc.) are also provided.")
|
||||||
(license (package-license perl))))
|
(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
|
(define-public perl-lingua-en-words2nums
|
||||||
(package
|
(package
|
||||||
(name "perl-lingua-en-words2nums")
|
(name "perl-lingua-en-words2nums")
|
||||||
|
|
Loading…
Reference in New Issue