From patchwork Thu Mar 14 08:32:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "ashish.is--- via Guix-patches\" via" X-Patchwork-Id: 61794 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 9E2D927BBEA; Thu, 14 Mar 2024 08:33:59 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED 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 2394427BBE9 for ; Thu, 14 Mar 2024 08:33:58 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkgWr-0000cb-0N; Thu, 14 Mar 2024 04:33:33 -0400 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 1rkgWl-0000bt-Ct for guix-patches@gnu.org; Thu, 14 Mar 2024 04:33:29 -0400 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 1rkgWk-000736-Lu for guix-patches@gnu.org; Thu, 14 Mar 2024 04:33:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rkgXK-0008PA-6x for guix-patches@gnu.org; Thu, 14 Mar 2024 04:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69794] [PATCH 2/2] gnu: Add python-stanza. Resent-From: =?utf-8?b?Tmd1eeG7hW4=?= Gia Phong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Mar 2024 08:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69794 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69794@debbugs.gnu.org Cc: =?utf-8?b?Tmd1eeG7hW4=?= Gia Phong X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171040521532236 (code B ref -1); Thu, 14 Mar 2024 08:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Mar 2024 08:33:35 +0000 Received: from localhost ([127.0.0.1]:48264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkgWt-0008Nr-CM for submit@debbugs.gnu.org; Thu, 14 Mar 2024 04:33:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:36662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkgWr-0008Nf-DP for submit@debbugs.gnu.org; Thu, 14 Mar 2024 04:33:34 -0400 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 1rkgWE-0000ZL-Bx for guix-patches@gnu.org; Thu, 14 Mar 2024 04:32:55 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rkgWC-0006rv-Pp for guix-patches@gnu.org; Thu, 14 Mar 2024 04:32:54 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D6D08416CD; Thu, 14 Mar 2024 09:32:50 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aN7EQ0zXWqoa; Thu, 14 Mar 2024 09:32:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1710405169; bh=b6ABoEHW/4bXjj4d2smoTB/OrvRXCFn+HfaEvZg+/Wk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Q4PsdRwp8eBAjjYUrd3LKbipR/lN/Eee/6x5HTFbiMwv5zFduqPlsqldZbIUpuQDO NjhRkuTd2ZuI4z9nEyDNr0mEiU7DmrIUCCvHCPHH8mnOVS+0sirStJ9cGE5gstjhao ejxrp0aRfFxngkxmXwPhHloEx3O9PIMp8jWWeLq2VdKL6oSaq32OwBSOs4+EUdMPqj lTKjk1mw0NbiroLKnO+6U+QMi6Xlm+p1zLDZXtVkY3Roy8voZoJPRlhHz2K9evm7kA gXQBeUnzYoQ2YSUNVRtcirOf8kKVZjNMwBEcU/phQK3RxhsHji9Qpj+4vnPnWVhD3D rnxtntjTSPZIQ== Date: Thu, 14 Mar 2024 17:32:23 +0900 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=mcsinyx@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: =?utf-8?b?Tmd1eeG7hW4=?= Gia Phong X-ACL-Warn: , =?utf-8?q?Nguy=E1=BB=85n_Gia_Phong_via_Guix-patches?= X-Patchwork-Original-From: guix-patches--- via From: "ashish.is--- via Guix-patches\" via" 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/machine-learning.scm (python-stanza): New variable. Change-Id: Ibde67dcb8a015b91554f6a1e36dbf5eef0b73f36 --- gnu/packages/machine-learning.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 5c18a2e9d57d..5e403d905c49 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -27,6 +27,7 @@ ;;; Copyright © 2024 David Pflug ;;; Copyright © 2024 Timothee Mathieu ;;; Copyright © 2024 Spencer King +;;; Copyright © 2024 Nguyễn Gia Phong ;;; ;;; This file is part of GNU Guix. ;;; @@ -1127,6 +1128,35 @@ (define-public python-spacy model packaging, deployment and workflow management.") (license license:expat))) +(define-public python-stanza + (package + (name "python-stanza") + (version "1.8.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "stanza" version)) + (sha256 + (base32 "1drq9wyafisnf44jgby1sh45svp0pj2svb01v397i9h0bczc5i08")))) + (build-system python-build-system) + (propagated-inputs (list python-emoji + python-numpy + python-protobuf + python-requests + python-networkx + python-toml + python-pytorch + python-tqdm)) + ;; Tests require downloading of datasets. + (arguments (list #:tests? #false)) + (home-page "https://stanfordnlp.github.io/stanza") + (synopsis "Stanford NLP Python library for many human languages") + (description "Stanza is a collection of accurate and efficient tools +for the linguistic analysis of many human languages. Starting from raw text, +Stanza divides it into sentences and words, and then can recognize +parts of speech and entities, do syntactic analysis, and more.") + (license license:asl2.0))) + (define-public shogun (package (name "shogun")