[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/04: gnu: Add python-icegrams.
From: |
guix-commits |
Subject: |
04/04: gnu: Add python-icegrams. |
Date: |
Sat, 23 Dec 2023 05:19:06 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit bdec4d867acd98551c22db58ae7c4ea313806243
Author: Spencer King <spencer@nursiapress.com>
AuthorDate: Sun Dec 3 21:03:11 2023 -0600
gnu: Add python-icegrams.
* gnu/packages/python-xyz.scm (python-icegrams): New variable.
Change-Id: Ia0044304f8b2002a5362813448a6172c2f3eef5b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 79c739ad31..cab44be011 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -34374,6 +34374,29 @@ The database contains over 6.5 million entries, over
3.1 million unique word
forms, and about 300,000 distinct lemmas.")
(license license:expat)))
+(define-public python-icegrams
+ (package
+ (name "python-icegrams")
+ (version "1.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "icegrams" version))
+ (sha256
+ (base32 "1ajcjngvr4rlgb0q6p6vjz2sncwhvq3msjy6qaiz5g37vgvw2ij8"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-cffi))
+ (home-page "https://github.com/mideind/Icegrams")
+ (synopsis "Trigram statistics for Icelandic")
+ (description
+ "Icegrams is a Python package that encapsulates a large trigram
+library for Icelandic. You can use Icegrams to obtain probabilities (relative
+frequencies) of over a million different unigrams (single words or tokens), or
of
+bigrams (pairs of two words or tokens), or of trigrams. Icegrams is useful for
+instance in spelling correction, predictive typing, to help disabled people
+write text fast, and for various text generation, statistics, and modeling
tasks.")
+ (license license:expat)))
+
(define-public python-zeroc-ice-3.6
(package
(inherit python-zeroc-ice)