summary refs log tree commit diff
path: root/gnu/packages/language.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-16 23:33:44 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-17 13:03:50 -0500
commit9b446711e75aaf8e58a5f7f7536006590e91ace5 (patch)
tree63abb9c5b3806922462f71ccc4c5de9960583dca /gnu/packages/language.scm
parentf8f744a8d1910cddf3b93c5824da8a4d29deab79 (diff)
downloadguix-9b446711e75aaf8e58a5f7f7536006590e91ace5.tar.gz
gnu: Add Lingua-PT-Stemmer.
* gnu/packages/language.scm (perl-lingua-pt-stemmer): New variable.
Diffstat (limited to 'gnu/packages/language.scm')
-rw-r--r--gnu/packages/language.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index f08c5e8f62..be85b798b2 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -131,3 +131,23 @@ digits, is a cardinal or ordinal number.")
     (description "This module converts English text into numbers.  It supports
 both ordinal and cardinal numbers, negative numbers, and very large numbers.")
     (license (package-license perl))))
+
+(define-public perl-lingua-pt-stemmer
+  (package
+    (name "perl-lingua-pt-stemmer")
+    (version "0.01")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/X/XE/XERN/"
+                           "Lingua-PT-Stemmer-" version ".tar.gz"))
+       (sha256
+        (base32
+         "11rqc5pqnkl9c13vy7sihiyas14ci0pj3k6chrgrgjv5sjv2m4a5"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Lingua-PT-Stemmer")
+    (synopsis "Portuguese language stemming")
+    (description "This module implements a Portuguese stemming algorithm
+proposed in the paper A Stemming Algorithm for the Portuguese Language by
+Moreira, V. and Huyck, C.")
+    (license (package-license perl))))