summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-17 11:12:30 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-17 13:03:50 -0500
commitcfed969c730d127b2bb51d2c4283e2395685ac6a (patch)
treef42437f6689df90e7631331b9babaff472d7ea16 /gnu
parentd7de088395e10ec0f35584afd50bc63b3a6d18c6 (diff)
gnu: Add Lingua-EN-Inflect-Phrase.
* gnu/packages/language.scm (perl-lingua-en-inflect-phrase): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/language.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index 2c080cc602..14958bdfbd 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -91,6 +91,33 @@ 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-inflect-phrase
+ (package
+ (name "perl-lingua-en-inflect-phrase")
+ (version "0.18")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
+ "Lingua-EN-Inflect-Phrase-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19prg6pkgnznrc82ymdkdi3l9schg815axjig7adca5yqa7mn2i9"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-test-nowarnings" ,perl-test-nowarnings)))
+ (propagated-inputs
+ `(("perl-lingua-en-findnumber" ,perl-lingua-en-findnumber)
+ ("perl-lingua-en-inflect" ,perl-lingua-en-inflect)
+ ("perl-lingua-en-inflect-number" ,perl-lingua-en-inflect-number)
+ ("perl-lingua-en-number-isordinal" ,perl-lingua-en-number-isordinal)
+ ("perl-lingua-en-tagger" ,perl-lingua-en-tagger)))
+ (home-page "http://search.cpan.org/dist/Lingua-EN-Inflect-Phrase")
+ (synopsis "Inflect short English phrases")
+ (description "This module attempts to pluralize or singularize short
+English phrases.")
+ (license (package-license perl))))
+
(define-public perl-lingua-en-number-isordinal
(package
(name "perl-lingua-en-number-isordinal")