From patchwork Mon Dec 4 03:03:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Spencer King X-Patchwork-Id: 20334 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E4DA627BBE9; Mon, 4 Dec 2023 14:26:51 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 25AF527BBE2 for ; Mon, 4 Dec 2023 14:26:47 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rA9tz-0001Hr-K8; Mon, 04 Dec 2023 09:26:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rA1nF-0006BL-JY for guix-patches@gnu.org; Mon, 04 Dec 2023 00:46:58 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rA1nF-0002IE-Ay; Mon, 04 Dec 2023 00:46:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rA1nK-0007mi-4Y; Mon, 04 Dec 2023 00:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67617] [PATCH] gnu: Add python-icegrams. Resent-From: Spencer King Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 04 Dec 2023 05:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67617 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67617@debbugs.gnu.org Cc: Spencer King , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by submit@debbugs.gnu.org id=B.170166878029867 (code B ref -1); Mon, 04 Dec 2023 05:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Dec 2023 05:46:20 +0000 Received: from localhost ([127.0.0.1]:33340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rA1mb-0007lb-Fn for submit@debbugs.gnu.org; Mon, 04 Dec 2023 00:46:20 -0500 Received: from lists.gnu.org ([2001:470:142::17]:39588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9zGZ-0003Vv-Ld for submit@debbugs.gnu.org; Sun, 03 Dec 2023 22:05:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9zGJ-000311-JJ for guix-patches@gnu.org; Sun, 03 Dec 2023 22:04:47 -0500 Received: from kudu.cherry.relay.mailchannels.net ([23.83.223.97]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9zGH-0005DB-Ky for guix-patches@gnu.org; Sun, 03 Dec 2023 22:04:47 -0500 X-Sender-Id: _forwarded-from|47.24.152.219 Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1D635C1F31 for ; Mon, 4 Dec 2023 03:04:43 +0000 (UTC) Received: from p110.lithium.hosting (unknown [127.0.0.6]) (Authenticated sender: lithiumhosting) by relay.mailchannels.net (Postfix) with ESMTPA id 82831C196B for ; Mon, 4 Dec 2023 03:04:42 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1701659082; a=rsa-sha256; cv=none; b=vjzPstukI54xHs7ghW0skaw59tWHbdNQ6x8zIfLssszeVnzcHi3OLEwC0EES8ZdIQpah07 GgsZAABIvs2l3a737QKldGnGaYGmjri1ZwjijlRBMncxhYLXgKdzIykaAmA7IO5R8QBpDB lHUTb58aXkA/DgP6ycOsMtLYqFXMvqwwnxSt34zotYBkmY6FkdVbU311XmcAihKgVNS8Zi 5aRHUuJjLiXYOPcdFmtjIw/KNo89bR+hwB7N7Y9fThZUf6PVwWx63uNDKew4kcWHX4L/c9 2Yy2z1lwKlYcwoOFu/Nt8Yqazt+fb6/AWldWmgfU0jQcZYnqtJV55kVV2i158A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1701659082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=I6et2FE1nHk/oBZ45Tem8pFQJ6Dd1DdVPWMO2mVBHWg=; b=go8VjsDY51vnyeIuCmPbjFnbHV0WGHWJ3L+ya47Rp85yO4BdLlSCJSMYDMOxprNfsSUx04 ZR5/YriYWYyJAQJUsWuqOCnddcxKGS4bCFvd2QuGWZ/VHMBiqJwf9P8p+e1sTViodTODXV 1xmYKgTtmKo9G1x5at95T1o7PtX1p+JpGBb0R0bS3bWVFsIn5eADxOIvOakxuzD90tuaWC eaVSjxT5Bm70Cr/BUcq+tOpy8iqn6Ke9eLB8ous6w4TVS+aCqgJChtZ2cY/nbQwuaRhtRq F8Mp92jGAwsrZNzaGuE9PZeV97HcIqO6rxMT/hsUodzYElzL0M81hGOoFRsbVw== ARC-Authentication-Results: i=1; rspamd-d88d8bd54-ggndk; auth=pass smtp.auth=lithiumhosting smtp.mailfrom=spencer@nursiapress.com X-Sender-Id: _forwarded-from|47.24.152.219 X-MC-Relay: Forwarding X-MailChannels-SenderId: _forwarded-from|47.24.152.219 X-MailChannels-Auth-Id: lithiumhosting X-Whistle-Lyrical: 1fb17024243d75b9_1701659082756_2255116071 X-MC-Loop-Signature: 1701659082756:2418310449 X-MC-Ingress-Time: 1701659082756 Received: from p110.lithium.hosting (p110.lithium.hosting [51.161.57.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.209.6 (trex/6.9.2); Mon, 04 Dec 2023 03:04:42 +0000 Received: from localhost.localdomain (047-024-152-219.res.spectrum.com [47.24.152.219]) by p110.lithium.hosting (Postfix) with ESMTPA id 311ED621B6340; Sun, 3 Dec 2023 22:04:41 -0500 (EST) From: Spencer King Date: Sun, 3 Dec 2023 21:03:11 -0600 Message-ID: <283ec0dc3ea786a66c3e4eac20da222b79dc0902.1701658991.git.spencer@nursiapress.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=23.83.223.97; envelope-from=spencer@nursiapress.com; helo=kudu.cherry.relay.mailchannels.net X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 04 Dec 2023 00:46:10 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 04 Dec 2023 09:26:26 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-icegrams): New variable. Change-Id: Ia0044304f8b2002a5362813448a6172c2f3eef5b --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) base-commit: 6e2dd51df5f3f51e9056dd4f2e1b036195ab3caa diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f87e6fc3f7..c2f3475362 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -34242,6 +34242,29 @@ (define-public python-islenska 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)