diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-03-17 10:34:35 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-03-17 13:03:50 -0500 |
commit | 9766e4fef1745d46a0b0eb6bcf35b6f3653d09f2 (patch) | |
tree | 5b1c93a48b5ce630644e4f492bc4e11c199c2492 /gnu/packages/language.scm | |
parent | 2b83abae5397ddb8f790e9113207e32eb06150e2 (diff) | |
download | guix-9766e4fef1745d46a0b0eb6bcf35b6f3653d09f2.tar guix-9766e4fef1745d46a0b0eb6bcf35b6f3653d09f2.tar.gz |
gnu: Add Lingua-Stem.
* gnu/packages/language.scm (perl-lingua-stem): New variable.
Diffstat (limited to 'gnu/packages/language.scm')
-rw-r--r-- | gnu/packages/language.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index b30dabc3a3..fff651ba2e 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -153,6 +153,34 @@ 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 + (package + (name "perl-lingua-stem") + (version "0.84") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/S/SN/SNOWHARE/" + "Lingua-Stem-" version ".tar.gz")) + (sha256 + (base32 + "12avh2mnnc7llmmshrr5bgb473fvydxnlqrqbl2815mf2dp4pxcg")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-lingua-pt-stemmer" ,perl-lingua-pt-stemmer) + ("perl-lingua-stem-fr" ,perl-lingua-stem-fr) + ("perl-lingua-stem-it" ,perl-lingua-stem-it) + ("perl-lingua-stem-ru" ,perl-lingua-stem-ru) + ("perl-lingua-stem-snowball-da" ,perl-lingua-stem-snowball-da) + ("perl-snowball-norwegian" ,perl-snowball-norwegian) + ("perl-snowball-swedish" ,perl-snowball-swedish) + ("perl-text-german" ,perl-text-german))) + (home-page "http://search.cpan.org/dist/Lingua-Stem") + (synopsis "Stemming of words in various languages") + (description "This routine applies stemming algorithms to its parameters, +returning the stemmed words as appropriate to the selected locale.") + (license (package-license perl)))) + (define-public perl-lingua-stem-fr (package (name "perl-lingua-stem-fr") |