guix-commits
[Top][All Lists]
Advanced

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

07/12: gnu: Add perl-lingua-en-sentence.


From: guix-commits
Subject: 07/12: gnu: Add perl-lingua-en-sentence.
Date: Sun, 14 Jun 2020 06:41:50 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit cbddff6d703117748d87a110e05a9a82dc725b0b
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jun 14 11:23:29 2020 +0200

    gnu: Add perl-lingua-en-sentence.
    
    * gnu/packages/perl.scm (perl-lingua-en-sentence): New variable.
---
 gnu/packages/perl.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index b164796..782963e 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -5723,6 +5723,28 @@ that aims to be compatible with the Uniforum message 
translations system as
 implemented for example in GNU gettext.")
     (license gpl3+)))
 
+(define-public perl-lingua-en-sentence
+  (package
+    (name "perl-lingua-en-sentence")
+    (version "0.31")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/K/KI/KIMRYAN/"
+                           "Lingua-EN-Sentence-" version ".tar.gz"))
+       (sha256
+        (base32 "11hlg92khd2azbxndnffsj9lggbxb3lqfdbwc6asr1c9lxlqddms"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-module-build" ,perl-module-build)))
+    (home-page "https://metacpan.org/release/Lingua-EN-Sentence";)
+    (synopsis "Split text into sentences")
+    (description
+     "The Lingua::EN::Sentence module contains the function get_sentences,
+which splits text into its constituent sentences, based on a regular
+expression and a list of abbreviations (built in and given).")
+    (license perl-license)))
+
 (define-public perl-lingua-translit
   (package
     (name "perl-lingua-translit")



reply via email to

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