guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/27: gnu: Add Lingua-EN-Inflect-Number.


From: Eric Bavier
Subject: 10/27: gnu: Add Lingua-EN-Inflect-Number.
Date: Tue, 17 Mar 2015 18:15:19 +0000

bavier pushed a commit to branch master
in repository guix.

commit 4812a813a272261385d34d432cd1f2c46d403704
Author: Eric Bavier <address@hidden>
Date:   Mon Mar 16 23:18:23 2015 -0500

    gnu: Add Lingua-EN-Inflect-Number.
    
    * gnu/packages/language.scm (perl-lingua-en-inflect-number): New
      variable.
---
 gnu/packages/language.scm |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index c02771d..2fdffa0 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]