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:37:59 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-17 13:03:50 -0500
commitdf11e05241497e1e9e97178aaa93b9833acb2d65 (patch)
tree4f2d4bafe65c0574e110dee861aec6c61bdd1c35 /gnu/packages/language.scm
parent9b446711e75aaf8e58a5f7f7536006590e91ace5 (diff)
downloadguix-df11e05241497e1e9e97178aaa93b9833acb2d65.tar.gz
gnu: Add Lingua-Stem-Fr.
* gnu/packages/language.scm (perl-lingua-stem-fr): New variable.
Diffstat (limited to 'gnu/packages/language.scm')
-rw-r--r--gnu/packages/language.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index be85b798b2..2886fed966 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -151,3 +151,22 @@ both ordinal and cardinal numbers, negative numbers, and very large numbers.")
 proposed in the paper A Stemming Algorithm for the Portuguese Language by
 Moreira, V. and Huyck, C.")
     (license (package-license perl))))
+
+(define-public perl-lingua-stem-fr
+  (package
+    (name "perl-lingua-stem-fr")
+    (version "0.02")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/S/SD/SDP/"
+                           "Lingua-Stem-Fr-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0vyrspwzaqjxm5mqshf4wvwa3938mkajd1918d9ii2l9m2rn8kwx"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Lingua-Stem-Fr")
+    (synopsis "Porter's stemming algorithm for French")
+    (description "This module uses a modified version of the Porter Stemming
+Algorithm to return a stemmed French word.")
+    (license (package-license perl))))