Received: (at 66049) by debbugs.gnu.org; 26 Sep 2023 12:28:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 26 08:28:44 2023 Received: from localhost ([127.0.0.1]:47563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ql7BE-0000I8-7l for submit <at> debbugs.gnu.org; Tue, 26 Sep 2023 08:28:44 -0400 Received: from meesny.iki.fi ([2001:67c:2b0:1c1::201]:55056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jussi.timperi@HIDDEN>) id 1ql7BC-0000Hz-3R for 66049 <at> debbugs.gnu.org; Tue, 26 Sep 2023 08:28:43 -0400 Received: from localhost (unknown [IPv6:2001:999:580:b0d2:8078:5d7e:c63e:a128]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jussi.timperi) by meesny.iki.fi (Postfix) with ESMTPSA id 4RvzYQ5wyhzyPp; Tue, 26 Sep 2023 15:28:26 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1695731307; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XHvktxZfI7omMJ/OfqOqRfdg31n2mwais4pL7Tn0bJg=; b=r0RgeEV+sjB+DJK+KV1WewXPZCLXdeZXmBj6RbihN+W9xVxfxHcyVBD8NHg9div8dCS9/A Ha4SwJB38Vyrk1NGe/RshdpMnLMNG29E1lWT2pbtLnZu+H8oWfCQ5qYidLOjoEM71ER++j l0WZZBTaMs1gcMbpPExHGHKDV+5IrNM= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1695731307; a=rsa-sha256; cv=none; b=YTSFPcuug2+pTRNLX5FM9CHW0NrUNak0QpCNEeibruuaez911KJVq1uDtEhWzAUjYAWpPP Nn1tG0vXrN5LSff9Ti9jY7yhJiBYO1vAMHiK+Hcte/ThU3D6MPanlc8jnPvCgyy83HY2Tr H5otghUrjLRhmu2pA2GloyUIbHyLzxk= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=jussi.timperi smtp.mailfrom=jussi.timperi@HIDDEN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1695731307; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XHvktxZfI7omMJ/OfqOqRfdg31n2mwais4pL7Tn0bJg=; b=F/eirW6wwAZU030pi3V1UFpBzzziVCH9ThcKhm8TA+1m9QOZl60WIKRwnqmu74ercW9HpO 3p7JboUcz6ESg+/UT8W8nwYXmmL4Lr6X2oYQlcrB1r0uhB6UrBTAYUaMubyaZxZzjbTLyq g3zU9WHKrScI+KZY3IAkMWqbXSV00Ck= References: <cover.1694949552.git.jussi.timperi@HIDDEN> <cf05339bd26ad4e84f21e02f4ca1edf80ba2df84.1694949552.git.jussi.timperi@HIDDEN> <87a5tbzgw5.fsf_-_@HIDDEN> User-agent: mu4e 1.10.7; emacs 29.1 From: Jussi Timperi <jussi.timperi@HIDDEN> To: Bruno Victal <mirai@HIDDEN> Subject: Re: bug#66049: [PATCH 0/4] Add Voikko. Date: Tue, 26 Sep 2023 15:11:07 +0300 In-reply-to: <87a5tbzgw5.fsf_-_@HIDDEN> Message-ID: <87jzsd15li.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66049 Cc: 66049 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Hi Bruno, Bruno Victal <mirai@HIDDEN> writes: > I see a foma/tests directory. Looks like it's not being run > automatically as part of the build system (worth asking upstream to > integrate this into their CMake based system) but instead it's done by > manually invoking the run.sh script. You might have to patch this script > to have `^foma' replaced with (string-append #$output "/bin/foma") though. What I did in V2 was prepending PATH with the directory with the newly build 'foma' in it. Let me know if that's not OK, and I'll move the phase around to have #$output populated before it is run. I'll see about raising an issue upstream about integrating the tests. > No need for a trailing #t. Removed in V2. Thanks, -- Jussi
guix-patches@HIDDEN
:bug#66049
; Package guix-patches
.
Full text available.Received: (at 66049) by debbugs.gnu.org; 26 Sep 2023 12:10:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 26 08:10:29 2023 Received: from localhost ([127.0.0.1]:47512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ql6tZ-0008AK-IP for submit <at> debbugs.gnu.org; Tue, 26 Sep 2023 08:10:29 -0400 Received: from meesny.iki.fi ([2001:67c:2b0:1c1::201]:42346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jussi.timperi@HIDDEN>) id 1ql6tX-0008A1-4s for 66049 <at> debbugs.gnu.org; Tue, 26 Sep 2023 08:10:27 -0400 Received: from localhost (unknown [IPv6:2001:999:580:b0d2:8078:5d7e:c63e:a128]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jussi.timperi) by meesny.iki.fi (Postfix) with ESMTPSA id 4Rvz8P2l4RzyPp; Tue, 26 Sep 2023 15:10:13 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1695730213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zmVLTnTdk+/Bz0clJHkEyl32pDvuWSWxaoAbBssT5ro=; b=q7GVcKkVG1MVSM36YC+AqD5H0Nnf0B4teRcJJfOxiYC9jeSN60GflBcziuwb/wY5rr3gxy 9lmVu4Us3ff3i6p9GWQov/J3HM9nOYx5HuyjRF1uK038AYTFntg4axp1mrXrHUrHakDiu1 fE2QFov5OE5wvA0+Ix/xEmtiFJUWhjw= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1695730213; a=rsa-sha256; cv=none; b=QAiv+DDtUWKuNTXHjAFdDCu/86hOY7HSnuUSCws8ReusP+P5JHpTghbaF09OIjmk0SHhP1 GrnXMkLnWd1yXeLmixpPcMcRcJRhfk4QbCwS2TYN5z62WDDZTcB6qsN+NyuWXn50LwwSfN baoClevzsqlM/oFNSYZTWPEIgX04MRQ= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=jussi.timperi smtp.mailfrom=jussi.timperi@HIDDEN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1695730213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zmVLTnTdk+/Bz0clJHkEyl32pDvuWSWxaoAbBssT5ro=; b=kEBzD1W8ixJoAgzjBXsFFUMelItqjewpzl1E1y+mjVSjiR5dLC16sNNfcxm+/aIkg7SQBa 1P6n2tfBNmcqJAoxqaN/qwUXCflwSqq/d/yp7NPejK4OWc/41n8511ExcUYOT+8f1icDzU 8TI16QPFCA/dS8Mfp8PLVvabttFrdjU= From: Jussi Timperi <jussi.timperi@HIDDEN> To: 66049 <at> debbugs.gnu.org Subject: [PATCH v2 4/4] gnu: Add voikko-fi. Date: Tue, 26 Sep 2023 15:09:55 +0300 Message-ID: <12eea8bf16a791b2fb8697c1a1e7ce545b92b378.1695678993.git.jussi.timperi@HIDDEN> X-Mailer: git-send-email 2.41.0 In-Reply-To: <804a598c1c5b401858c795e26b1df1ab2f1ce1da.1695678993.git.jussi.timperi@HIDDEN> References: <804a598c1c5b401858c795e26b1df1ab2f1ce1da.1695678993.git.jussi.timperi@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66049 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) * gnu/packages/language.scm (voikko-fi): New variable. --- gnu/packages/language.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index 76dfc47cbb..faf16ad137 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -1302,3 +1302,36 @@ (define-public libvoikko Hunspell or other existing free linguistic tools.") ;; Library and default backends are under tri-license. (license (list license:gpl2+ license:lgpl2.1+ license:mpl1.1)))) + +(define-public voikko-fi + (package + (name "voikko-fi") + (version "2.5") + (source (origin + (method url-fetch) + (uri (string-append + "https://www.puimula.org/voikko-sources/voikko-fi/" + "voikko-fi-" version ".tar.gz")) + (sha256 + (base32 + "1w90qqp00621hwbgqqxyag60xdjpmz5ba8xzawwif9i5ashb1j9v")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ;no tests + #:make-flags #~(list (string-append "DESTDIR=" + #$output "/lib/voikko")) + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "vvfst-install" make-flags)))))) + (native-inputs (list foma libvoikko python-minimal)) + (home-page "https://voikko.puimula.org") + (synopsis "Finnish dictionary for Voikko") + (description + "Voikko-fi (previously know as Suomi-malaga) is a description of Finnish +morphology written for libvoikko. + +The implementation uses unweighted @acronym{VFST, Varissuo Finite-State +Transducer} format and provides format 5 Finnish dictionary for libvoikko.") + (license license:gpl2+))) -- 2.41.0
guix-patches@HIDDEN
:bug#66049
; Package guix-patches
.
Full text available.Received: (at 66049) by debbugs.gnu.org; 26 Sep 2023 12:10:29 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 26 08:10:29 2023 Received: from localhost ([127.0.0.1]:47510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ql6tZ-0008AD-5K for submit <at> debbugs.gnu.org; Tue, 26 Sep 2023 08:10:29 -0400 Received: from meesny.iki.fi ([2001:67c:2b0:1c1::201]:42342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jussi.timperi@HIDDEN>) id 1ql6tU-00089r-Ih for 66049 <at> debbugs.gnu.org; Tue, 26 Sep 2023 08:10:25 -0400 Received: from localhost (unknown [IPv6:2001:999:580:b0d2:8078:5d7e:c63e:a128]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jussi.timperi) by meesny.iki.fi (Postfix) with ESMTPSA id 4Rvz8L2dd6zyPp; Tue, 26 Sep 2023 15:10:10 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1695730210; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7JUGPV9/0X9+7rvKy7PyZ15x3Db6cfy8kAPYFVWMD7E=; b=URFGJEnRDptq8VS+u+TTyCgjrP+JNTysIQs2q/f9xoaoJ3yDD7VxtXqGrtHha6DQn7U0be tiQ4WJH5SnLn/ByJiHpq+8uQDRLNqraS8CJ3RnwMuvpaO22702BjKbtQsIXUGEuWK+tlVW bhgtQwKykY4OQ9LkALFQsmOtKM67G44= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1695730210; a=rsa-sha256; cv=none; b=Gj9fMlk7oL3keRkljFrqGyvMeOIZGs6qcLbx/JZY6tkaPAHXnmAOqdpciJiwR+hpLA485d 8oiflEOzW4H/onx4D6TEox4CvxLg/gv1uoU8A25Es9dKLVprgxRxUR4xfJ6Ek7wRnmrOVy D7yLXGoAP3oO1dqRnkidus/0wAzHuYQ= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=jussi.timperi smtp.mailfrom=jussi.timperi@HIDDEN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1695730210; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7JUGPV9/0X9+7rvKy7PyZ15x3Db6cfy8kAPYFVWMD7E=; b=ocnB1cY2mT93Pa4AxVQo/ihl5YEEcqW0JlORRwN/WAJi18nxAfiXZ5PFqyh8InMQc6VVfh F9t9T81BnwuGeMg9/7gBF+vRdGjK3KFSiFFNR1vKWS2W//s8nuVFiVyJTv+Mc4auWQ58S7 aseNeS51x6xlezvWH2sYrUo14qShSqQ= From: Jussi Timperi <jussi.timperi@HIDDEN> To: 66049 <at> debbugs.gnu.org Subject: [PATCH v2 3/4] gnu: Add libvoikko. Date: Tue, 26 Sep 2023 15:09:54 +0300 Message-ID: <f3486e2936fe21ea0911298f64958caf0dae2dc4.1695678993.git.jussi.timperi@HIDDEN> X-Mailer: git-send-email 2.41.0 In-Reply-To: <804a598c1c5b401858c795e26b1df1ab2f1ce1da.1695678993.git.jussi.timperi@HIDDEN> References: <804a598c1c5b401858c795e26b1df1ab2f1ce1da.1695678993.git.jussi.timperi@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66049 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) * gnu/packages/language.scm (libvoikko): New variable. --- gnu/packages/language.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index f2dd1aba2f..76dfc47cbb 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -1266,3 +1266,39 @@ (define-public foma the main use of foma, it is sufficiently generic to use for a large number of purposes.") (license license:asl2.0)))) + +(define-public libvoikko + (package + (name "libvoikko") + (version "4.3.2") + (source (origin + (method url-fetch) + (uri (string-append + "https://www.puimula.org/voikko-sources/libvoikko/" + "libvoikko-" version ".tar.gz")) + (sha256 + (base32 + "18hdb7w25kc0ib6z0h0bia192igazknfyz6wmllbim1jmamc4mh1")))) + (build-system gnu-build-system) + (arguments + ;; Outdated tests + ;; see: https://github.com/voikko/corevoikko/issues/55 + (list #:tests? #f)) + (inputs (list hfst-ospell)) + (native-inputs (list pkg-config python-minimal)) + (native-search-paths + (list (search-path-specification + (variable "VOIKKO_DICTIONARY_PATH") + (files (list "lib/voikko"))))) + (home-page "https://voikko.puimula.org") + (synopsis "Library of language tools") + (description + "Libvoikko provides spell checking, hyphenation, grammar checking and +morphological analysis for Finnish language. Spell checking is supported for +other languages through @acronym{HFST, Helsinki Finite-State Technology} +backend. + +Libvoikko aims to provide support for languages that are not well served by +Hunspell or other existing free linguistic tools.") + ;; Library and default backends are under tri-license. + (license (list license:gpl2+ license:lgpl2.1+ license:mpl1.1)))) -- 2.41.0
guix-patches@HIDDEN
:bug#66049
; Package guix-patches
.
Full text available.Received: (at 66049) by debbugs.gnu.org; 26 Sep 2023 12:10:29 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 26 08:10:29 2023 Received: from localhost ([127.0.0.1]:47508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ql6tY-0008AB-NW for submit <at> debbugs.gnu.org; Tue, 26 Sep 2023 08:10:29 -0400 Received: from meesny.iki.fi ([195.140.195.201]:55634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jussi.timperi@HIDDEN>) id 1ql6tR-00089T-Sv for 66049 <at> debbugs.gnu.org; Tue, 26 Sep 2023 08:10:24 -0400 Received: from localhost (unknown [IPv6:2001:999:580:b0d2:8078:5d7e:c63e:a128]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jussi.timperi) by meesny.iki.fi (Postfix) with ESMTPSA id 4Rvz8H0l6GzyvD; Tue, 26 Sep 2023 15:10:07 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1695730207; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HPB88PbcCqq04EmISgSDpKXwSrRNOgbBSgX1rWQ0Pck=; b=J95agCSgLOUT/wut/PGtjVVDrIRWJ5gbsGG70vbdDg2SAevpv/s2xqoKJ6f2+eihD4w210 x0HdQGz80GdEU5EsOquAW14KzV5nJowIYO2oVc8JDFXhS/2qdc5wa3qsCAy4YG0KKKxKFk BtlLl3al4b+8UeSm2wkQW2b52IGc5+o= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1695730207; a=rsa-sha256; cv=none; b=NPlOQyJP/ea4EUN1hxZIdb/QHgOhOBFq/UiSEbHI/h56vey/A6GL1Gbc1hgrmZ2MfzuIX6 Y8sKWsoPy19JYUaFuSKGoY+IjHXTo/3knEgjxWNdRQACe3ehZs81dVFYD4RJQYEmU1JoMy /Ing/8Ag8oUOc1cJaAeVO3xikMh7StI= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=jussi.timperi smtp.mailfrom=jussi.timperi@HIDDEN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1695730207; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HPB88PbcCqq04EmISgSDpKXwSrRNOgbBSgX1rWQ0Pck=; b=reH3FuSi8XEtfzaLJ+dbiOr0Q5n6N37bCEyYiWN8vu1du6owo9KEZgt+jUIdmEVcfaSksH r/+z6ZexJj9rGKLb4Nwu1w+lYC6pcFPoC86VMv9w4HqOfsgnq8ylj7qsKzcMIVcR9UVOas U0+SO1WDsMY0a4qvFHdPbc40bZJwFKA= From: Jussi Timperi <jussi.timperi@HIDDEN> To: 66049 <at> debbugs.gnu.org Subject: [PATCH v2 2/4] gnu: Add foma. Date: Tue, 26 Sep 2023 15:09:53 +0300 Message-ID: <167dc20d70d817afae1742aa587bc13ce7313609.1695678993.git.jussi.timperi@HIDDEN> X-Mailer: git-send-email 2.41.0 In-Reply-To: <804a598c1c5b401858c795e26b1df1ab2f1ce1da.1695678993.git.jussi.timperi@HIDDEN> References: <804a598c1c5b401858c795e26b1df1ab2f1ce1da.1695678993.git.jussi.timperi@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66049 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) * gnu/packages/language.scm (foma): New variable. --- gnu/packages/language.scm | 54 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index 241b145440..f2dd1aba2f 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -32,10 +32,12 @@ (define-module (gnu packages language) #:use-module (gnu packages audio) #:use-module (gnu packages backup) #:use-module (gnu packages base) + #:use-module (gnu packages bison) #:use-module (gnu packages compression) #:use-module (gnu packages dbm) #:use-module (gnu packages docbook) #:use-module (gnu packages emacs) + #:use-module (gnu packages flex) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) @@ -55,6 +57,7 @@ (define-module (gnu packages language) #:use-module (gnu packages python) #:use-module (gnu packages perl-check) #:use-module (gnu packages qt) + #:use-module (gnu packages readline) #:use-module (gnu packages ruby) #:use-module (gnu packages scheme) #:use-module (gnu packages sqlite) @@ -1212,3 +1215,54 @@ (define-public hfst-ospell optimized-lookup format based spell checker library and a demonstrational implementation of command line based spell checker.") (license license:asl2.0))) + +(define-public foma + (let ((commit "fe40aceea1797642dd1cf0fa61fd024c7a7f7095") + (revision "0")) + (package + (name "foma") + (version (git-version "0.10.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mhulden/foma") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1y6yjc72wh6gqqip6jjnrzwv95inr1kncnnfd144vfnvv9bj3msx")))) + (build-system cmake-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "foma"))) + (replace 'check + (lambda* (#:key tests? out-of-source? #:allow-other-keys) + (if tests? + (let* ((builddir (getcwd)) + (srcdir (if out-of-source? + (string-append builddir "/../foma") + builddir)) + (testdir (string-append srcdir "/tests"))) + (with-directory-excursion testdir + (setenv "PATH" (string-append builddir + ":" + (getenv "PATH"))) + (invoke "./run.sh"))) + (format #t "test suite not run~%"))))))) + (inputs (list ncurses readline zlib)) + (native-inputs (list bison flex pkg-config)) + (home-page "https://fomafst.github.io/") + (synopsis "Finite-state compiler and C library") + (description + "Foma is a compiler, programming language, and C library for +constructing finite-state automata and transducers for various uses. + +It has specific support for many natural language processing applications such +as producing morphological analyzers. Although NLP applications are probably +the main use of foma, it is sufficiently generic to use for a large number of +purposes.") + (license license:asl2.0)))) -- 2.41.0
guix-patches@HIDDEN
:bug#66049
; Package guix-patches
.
Full text available.Received: (at 66049) by debbugs.gnu.org; 26 Sep 2023 12:10:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 26 08:10:23 2023 Received: from localhost ([127.0.0.1]:47503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ql6tT-00089c-4s for submit <at> debbugs.gnu.org; Tue, 26 Sep 2023 08:10:23 -0400 Received: from meesny.iki.fi ([2001:67c:2b0:1c1::201]:59636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jussi.timperi@HIDDEN>) id 1ql6tP-00089P-G0 for 66049 <at> debbugs.gnu.org; Tue, 26 Sep 2023 08:10:21 -0400 Received: from localhost (unknown [IPv6:2001:999:580:b0d2:8078:5d7e:c63e:a128]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jussi.timperi) by meesny.iki.fi (Postfix) with ESMTPSA id 4Rvz8C66ZnzyPp; Tue, 26 Sep 2023 15:10:03 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1695730204; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=i3x20H2k6UeTcMFOUqlajpungWc3wB8MO6iregQv4io=; b=Y3BZ8PrORNYpSd4o4UG4wQ6CZLFsZtTSZKU1NTteTxKELtVBVvB+MfuGLFmaAkBnRcuLxY IfGRkPW+G4DOkIPg3ByZdg0P5D2ID+IHEZHkerX9nNlNDyHwXbFnSQixkK30vxxikQo+Rr 9SYR60WXwe5wAybAwSlaHjLNArzkxmk= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1695730204; a=rsa-sha256; cv=none; b=MBhu8itBN/VhVQcFkezaiPGnWXVE8Hgz9VCtNUMcuJs4SeKaB42ccKlFTax1mooSEsbOP7 D7lyIjmD+eHjRgtbr53mQ3X4j5cOUWSAw0Zrsa4jIsCt00p6p0f2ge6q7pvA0kwjuSkm41 G0c4yQpyCHocxyGw5tFzjHdO/s+foZQ= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=jussi.timperi smtp.mailfrom=jussi.timperi@HIDDEN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1695730204; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=i3x20H2k6UeTcMFOUqlajpungWc3wB8MO6iregQv4io=; b=pN3wElhTibCgtAqTp5Wr0fszw+BeKVBIt53cB0fek99OTQoOzZqYjAqNqs+iOdERQYJP3i lTFHCUuRHGm3f6P71mgjsbGwRFe+jSVBXNweCIZYylREmX19oEXfMCPRsaGd9z7fZyWmzB lZVYq64Tvm26rj2refyKp4ahpbtKtmw= From: Jussi Timperi <jussi.timperi@HIDDEN> To: 66049 <at> debbugs.gnu.org Subject: [PATCH v2 1/4] gnu: Add hfst-ospell. Date: Tue, 26 Sep 2023 15:09:52 +0300 Message-ID: <804a598c1c5b401858c795e26b1df1ab2f1ce1da.1695678993.git.jussi.timperi@HIDDEN> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66049 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) * gnu/packages/language.scm (hfst-ospell): New variable. --- gnu/packages/language.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index faf3114b84..241b145440 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2022 Milran <milranmike@HIDDEN> ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@HIDDEN> ;;; Copyright © 2023 gemmaro <gemmaro.dev@HIDDEN> +;;; Copyright © 2023 Jussi Timperi <jussi.timperi@HIDDEN> ;;; ;;; This file is part of GNU Guix. ;;; @@ -29,6 +30,7 @@ (define-module (gnu packages language) #:use-module (gnu packages anthy) #:use-module (gnu packages autotools) #:use-module (gnu packages audio) + #:use-module (gnu packages backup) #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages dbm) @@ -40,6 +42,7 @@ (define-module (gnu packages language) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) #:use-module (gnu packages ibus) + #:use-module (gnu packages icu4c) #:use-module (gnu packages java) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) @@ -1179,3 +1182,33 @@ (define-public mecab-unidic from the database are used as entries (heading terms).") ;; triple-licensed (at the user’s choice) (license (list license:gpl2+ license:lgpl2.1 license:bsd-3)))) + +(define-public hfst-ospell + (package + (name "hfst-ospell") + (version "0.5.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hfst/hfst-ospell") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0n8zds3s3gj3fws6ghjr9cpgswasnjqr9rz4syxy2yq8n2fzb8fp")))) + (build-system gnu-build-system) + (arguments + (list + ;; Don't use obsolete XML libraries. + ;; see: https://github.com/hfst/hfst-ospell/issues/48 + #:configure-flags #~'("--without-libxmlpp" "--without-tinyxml2" + "--enable-zhfst"))) + (inputs (list icu4c libarchive)) + (native-inputs (list autoconf automake libtool pkg-config)) + (home-page "https://github.com/hfst/hfst-ospell") + (synopsis "HFST spell checker library and command line tool") + (description + "Minimal @acronym{HFST, Helsinki Finite-State Technology} +optimized-lookup format based spell checker library and a demonstrational +implementation of command line based spell checker.") + (license license:asl2.0))) base-commit: fafd3caef0d51811a5da81d6061789e2908b0dac -- 2.41.0
guix-patches@HIDDEN
:bug#66049
; Package guix-patches
.
Full text available.Received: (at 66049) by debbugs.gnu.org; 24 Sep 2023 16:16:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 24 12:16:13 2023 Received: from localhost ([127.0.0.1]:43505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qkRmH-00063p-6T for submit <at> debbugs.gnu.org; Sun, 24 Sep 2023 12:16:13 -0400 Received: from smtpmciv5.myservices.hosting ([185.26.107.241]:48024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mirai@HIDDEN>) id 1qkRmF-00063h-6J for 66049 <at> debbugs.gnu.org; Sun, 24 Sep 2023 12:16:12 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpmciv5.myservices.hosting (Postfix) with ESMTP id B140720D81; Sun, 24 Sep 2023 18:15:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 21BF880097; Sun, 24 Sep 2023 18:15:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 61SGkXLhWAO9; Sun, 24 Sep 2023 18:15:54 +0200 (CEST) Received: from guix-nuc (unknown [10.192.1.83]) (Authenticated sender: lumen@HIDDEN) by mail1.netim.hosting (Postfix) with ESMTPSA id 803F080092; Sun, 24 Sep 2023 18:15:54 +0200 (CEST) From: Bruno Victal <mirai@HIDDEN> To: Jussi Timperi <jussi.timperi@HIDDEN> Subject: Re: bug#66049: [PATCH 0/4] Add Voikko. References: <cover.1694949552.git.jussi.timperi@HIDDEN> <cf05339bd26ad4e84f21e02f4ca1edf80ba2df84.1694949552.git.jussi.timperi@HIDDEN> X-Hashcash: 1:26:230924:jussi.timperi@HIDDEN::qLij391CnECjgVSi:3bIm X-Hashcash: 1:26:230924:66049 <at> debbugs.gnu.org::AL68qhs8GhPwsJ4+:27thM Date: Sun, 24 Sep 2023 17:15:54 +0100 In-Reply-To: <cf05339bd26ad4e84f21e02f4ca1edf80ba2df84.1694949552.git.jussi.timperi@HIDDEN> (Jussi Timperi's message of "Sun, 17 Sep 2023 15:26:23 +0300") Message-ID: <87a5tbzgw5.fsf_-_@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66049 Cc: 66049 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Jussi, Jussi Timperi <jussi.timperi@HIDDEN> writes: > + (list #:tests? #f ;no tests I see a foma/tests directory. Looks like it's not being run automatically as part of the build system (worth asking upstream to integrate this into their CMake based system) but instead it's done by manually invoking the run.sh script. You might have to patch this script to have `^foma' replaced with (string-append #$output "/bin/foma") though. > + #:phases #~(modify-phases %standard-phases > + (add-after 'unpack 'chdir > + (lambda _ > + (chdir "foma") #t))))) No need for a trailing #t. -- Thanks, Bruno.
guix-patches@HIDDEN
:bug#66049
; Package guix-patches
.
Full text available.Received: (at 66049) by debbugs.gnu.org; 17 Sep 2023 19:20:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 17 15:20:17 2023 Received: from localhost ([127.0.0.1]:51471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qhxJZ-0001Bt-5x for submit <at> debbugs.gnu.org; Sun, 17 Sep 2023 15:20:17 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101]:55468 helo=mail.laesvuori.fi) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <saku@HIDDEN>) id 1qhxJW-0001Bk-80 for 66049 <at> debbugs.gnu.org; Sun, 17 Sep 2023 15:20:15 -0400 Received: from X-kone (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id B0CA63400AF; Sun, 17 Sep 2023 21:20:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1694978436; bh=WYJyCh+I2x8seRDkdUIFOLOmspWOAFzq3/NZv9brXsQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=DD7+rS/tR2KgJxQzpGGceZbYW8FbvQ4P9TZscioo6gC5KqNRPuamfUH0oeskZVghr R/nBqaQG7eRKDWWYn6BcsUN4a6e5JactuIBTMBKAE25tRDXB8p2cQc8CmG5o6u2Wlu NkX8A0hoI+DCCJwHCK8VoQnayK2PAkG7uJov4dlU= Date: Sun, 17 Sep 2023 22:20:00 +0300 From: Saku Laesvuori <saku@HIDDEN> To: Jussi Timperi <jussi.timperi@HIDDEN> Subject: Re: [bug#66049] [PATCH 0/4] Add Voikko. Message-ID: <ze6dyiph3p6bdj3xupts5o3nvocc7mu44g7ff5dgcbpfwlyxv7@nvoab54vfl77> References: <cover.1694949552.git.jussi.timperi@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="373bzj3okp7pwqlq" Content-Disposition: inline In-Reply-To: <cover.1694949552.git.jussi.timperi@HIDDEN> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 66049 Cc: 66049 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --373bzj3okp7pwqlq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Hi Guix, >=20 > This series adds Voikko, a morphological analyzer, spelling and grammar c= hecker, > hyphenator and collection of related linguistic data. It is probably the = most > widely used libre spell checker for Finnish language. Great! Seems to work well based on quick testing. Hopefully someone with commit access finds the time to review and apply this soon. --373bzj3okp7pwqlq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmUHUWAACgkQJX0oSiod OjKIdxAAkRGNYZ8ZTMsNoYdwppDGr1q/nfF3jlATLz8/R9oxBn1649CJ7E50xqkb iC/nM6Km+In8H+yGqAXVv+8LGSYsZng1fkZG1GW3/dw3LNjcMHBFXUQ7JgCXvESt /V4G8zftqeSM2DT4bWlNSowmJQSVbgw+Fli2DP05kCnqUTY/mYi34S+pOKWn+DS5 zHlDMQJ44HiU7OkTzJ0f/kZgwR5ie9XAzJsAY6yqAL3WQSVyRLml/o6BWRWIQXD2 NZaOvqDRgCPlXm6UK6Ysgp/+FY3wdQYPvJ94YiuftNsIITjQM8kvnU5hS0TefxcZ QCT1+uB30ChZKAd4oLqVZEF+oi0IeZSOGgVRqAPdI8/+9CdWKtGTzVl4gLvLzZkD AfRcS0KGfT34Uu0PlJZ+MMb7Pc+ghljFdWXmixbOaJYIA9XcAC/z7Y3wc62w2Oc2 Ghl6NbHskZJEmJBg1c8NZNuJS5KV06M/FobdVE94VD6fNR3m3cf6pzkenGZe4Qu2 3be93sNdGlfZF1PZH+pDtGbYkhTG1B8Q6InsW7u4JyyXJgk86aLt9MJDWFMMEvDu 2YEycUnhGaMi+Od2StgOmTxdhJbk5ztdi7czPBWoyFTho1GyL2bvfrUXVMMjAvpx d8vhwUeK3g5+35I6L1yCBtROS3fmOK+bNMZDRBJh0HtSElw+fGo= =UOb/ -----END PGP SIGNATURE----- --373bzj3okp7pwqlq--
guix-patches@HIDDEN
:bug#66049
; Package guix-patches
.
Full text available.Received: (at 66049) by debbugs.gnu.org; 17 Sep 2023 12:27:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 17 08:27:14 2023 Received: from localhost ([127.0.0.1]:49330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qhqrp-00070c-RJ for submit <at> debbugs.gnu.org; Sun, 17 Sep 2023 08:27:14 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:51601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jussi.timperi@HIDDEN>) id 1qhqrl-0006zp-LP for 66049 <at> debbugs.gnu.org; Sun, 17 Sep 2023 08:27:10 -0400 Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2bffd6c1460so7388911fa.3 for <66049 <at> debbugs.gnu.org>; Sun, 17 Sep 2023 05:27:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694953616; x=1695558416; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7mpW8GFcQy0Dv+iM6Din8gUtBhGj6uqsiq1q8/iOK/I=; b=fRh0vNuH5Cn9gokD4Td86yOWcxTe0c1CR/c0c8vyyRJjl1dvmv4fclas96nZtwXY1b QsmLlBHzEna7f3krE5nYCxC7Fe8Kb+ojKFAcuRWWCuPsQab4Cv7Q+rVDhz4OAmNNKYoY 7n8/u5hqyHdn7Yq6Of+EoYYl/bKnQBauKaVqtea3WMG0JJk2mLGCYHtI5X8RlMCAltg0 lH79/59clBnVlQMq6dj8yxxS70JrYPd1q2UOyZaLhIsMCT3AsBi3HHBnXJ5B0BODQ9Ev oS9Ma28OBUdOkGsFaHQix8wFy1k6Wlu7IiV/cfkZllZFUqGhjJkfTuRwvUB6wZQQGPDS qLCw== X-Gm-Message-State: AOJu0YxplDdxMlcOEQIH4HBShvPIfY9opg33kyJZ0raCsyrv+GEvSxX+ bzdvbR3UO3dwx4JwFlooke4DOFoyWsdLyw== X-Google-Smtp-Source: AGHT+IFZhETr7xhB7gaoqD3jPF1S8GzMkdNI0vZgr5BpCNlEZu0jz0n6b83HA31UlZXHWI2fPu7YOw== X-Received: by 2002:a2e:9783:0:b0:2b6:df23:2117 with SMTP id y3-20020a2e9783000000b002b6df232117mr5945129lji.43.1694953615729; Sun, 17 Sep 2023 05:26:55 -0700 (PDT) Received: from localhost.localdomain ([2001:999:68d:40f7:e230:bf6b:c2ea:6ff9]) by smtp.gmail.com with ESMTPSA id q63-20020a2e2a42000000b002b6d781b60esm521731ljq.82.2023.09.17.05.26.54 for <66049 <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 05:26:55 -0700 (PDT) From: Jussi Timperi <jussi.timperi@HIDDEN> To: 66049 <at> debbugs.gnu.org Subject: [PATCH 4/4] gnu: Add voikko-fi. Date: Sun, 17 Sep 2023 15:26:25 +0300 Message-ID: <126a7817b7f96c98a9a4a92e50cd1b4704673246.1694949552.git.jussi.timperi@HIDDEN> X-Mailer: git-send-email 2.41.0 In-Reply-To: <cover.1694949552.git.jussi.timperi@HIDDEN> References: <cover.1694949552.git.jussi.timperi@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 66049 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) * gnu/packages/language.scm (voikko-fi): New variable. --- gnu/packages/language.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index 7bfd67cea0..85aaa30a8e 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -1287,3 +1287,36 @@ (define-public libvoikko Hunspell or other existing free linguistic tools.") ;; Library and default backends are under tri-license. (license (list license:gpl2+ license:lgpl2.1+ license:mpl1.1)))) + +(define-public voikko-fi + (package + (name "voikko-fi") + (version "2.5") + (source (origin + (method url-fetch) + (uri (string-append + "https://www.puimula.org/voikko-sources/voikko-fi/" + "voikko-fi-" version ".tar.gz")) + (sha256 + (base32 + "1w90qqp00621hwbgqqxyag60xdjpmz5ba8xzawwif9i5ashb1j9v")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ;no tests + #:make-flags #~(list (string-append "DESTDIR=" + #$output "/lib/voikko")) + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "vvfst-install" make-flags)))))) + (native-inputs (list foma libvoikko python-minimal)) + (home-page "https://voikko.puimula.org") + (synopsis "Finnish dictionary for Voikko") + (description + "Voikko-fi (previously know as Suomi-malaga) is a description of Finnish +morphology written for libvoikko. + +The implementation uses unweighted @acronym{VFST, Varissuo Finite-State +Transducer} format and provides format 5 Finnish dictionary for libvoikko.") + (license license:gpl2+))) -- 2.41.0
guix-patches@HIDDEN
:bug#66049
; Package guix-patches
.
Full text available.Received: (at 66049) by debbugs.gnu.org; 17 Sep 2023 12:27:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 17 08:27:13 2023 Received: from localhost ([127.0.0.1]:49328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qhqrp-00070U-EM for submit <at> debbugs.gnu.org; Sun, 17 Sep 2023 08:27:13 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:62876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jussi.timperi@HIDDEN>) id 1qhqrj-0006zm-VW for 66049 <at> debbugs.gnu.org; Sun, 17 Sep 2023 08:27:08 -0400 Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2bff936e10fso7526101fa.1 for <66049 <at> debbugs.gnu.org>; Sun, 17 Sep 2023 05:27:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694953614; x=1695558414; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lD+f8F7H1do7MKSif5DiPPI9aMAxAWjOdBIavjOyL7Y=; b=h3yPiOc+Nc0KrDHI7knHtnefajnELZmUknxiasTHgKcmR8f5dMIxHGVLz0yXRJpHs7 oQe8z4jwSoni/cPz+affEnY9ydw1iifHZnvK+4xkXkG0so5o1CpCvTweMFiNgG4M3iAh gPxi0vrt5773DL1uztrxZzq0wNEaUUG7C3VpHIjfOfFzh01mNhDeid799DsNPOOY3U0a /Oy5sE9fOGkB9i/eghG4SBVbRxZDGokpT0K6Rm37RHpf92SjiIV7+mIDeew4diAsN1cS yXlpHSh8JbdOTq2jwd5QhagsPWKlCZkD+86sVbuDhbVmq76KBy1TSka20BG91YTLI6PL fyvA== X-Gm-Message-State: AOJu0Yw+JJWp0lVOa8ztRIbm/9OtesFn7sdvgsUOXrJRhLrGkm/9Vji7 vaH1nM3V+BkHxT7VdHgZaLD8THjNC/3NFw== X-Google-Smtp-Source: AGHT+IHO8dJF4nLuGHK/0PTk52lmwPCgCeLqdYGkGYCisQKEF9G1jRDooPiEviZnB12bD091WSFV2A== X-Received: by 2002:a2e:9cc4:0:b0:2bf:fd4b:f3f4 with SMTP id g4-20020a2e9cc4000000b002bffd4bf3f4mr622776ljj.20.1694953613923; Sun, 17 Sep 2023 05:26:53 -0700 (PDT) Received: from localhost.localdomain ([2001:999:68d:40f7:e230:bf6b:c2ea:6ff9]) by smtp.gmail.com with ESMTPSA id q63-20020a2e2a42000000b002b6d781b60esm521731ljq.82.2023.09.17.05.26.52 for <66049 <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 05:26:53 -0700 (PDT) From: Jussi Timperi <jussi.timperi@HIDDEN> To: 66049 <at> debbugs.gnu.org Subject: [PATCH 3/4] gnu: Add libvoikko. Date: Sun, 17 Sep 2023 15:26:24 +0300 Message-ID: <e729419b611088524684bdcbd97c8ca85652c962.1694949552.git.jussi.timperi@HIDDEN> X-Mailer: git-send-email 2.41.0 In-Reply-To: <cover.1694949552.git.jussi.timperi@HIDDEN> References: <cover.1694949552.git.jussi.timperi@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 66049 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) * gnu/packages/language.scm (libvoikko): New variable. --- gnu/packages/language.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index 625462fad0..7bfd67cea0 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -1251,3 +1251,39 @@ (define-public foma the main use of foma, it is sufficiently generic to use for a large number of purposes.") (license license:asl2.0)))) + +(define-public libvoikko + (package + (name "libvoikko") + (version "4.3.2") + (source (origin + (method url-fetch) + (uri (string-append + "https://www.puimula.org/voikko-sources/libvoikko/" + "libvoikko-" version ".tar.gz")) + (sha256 + (base32 + "18hdb7w25kc0ib6z0h0bia192igazknfyz6wmllbim1jmamc4mh1")))) + (build-system gnu-build-system) + (arguments + ;; Outdated tests + ;; see: https://github.com/voikko/corevoikko/issues/55 + (list #:tests? #f)) + (inputs (list hfst-ospell)) + (native-inputs (list pkg-config python-minimal)) + (native-search-paths + (list (search-path-specification + (variable "VOIKKO_DICTIONARY_PATH") + (files (list "lib/voikko"))))) + (home-page "https://voikko.puimula.org") + (synopsis "Library of language tools") + (description + "Libvoikko provides spell checking, hyphenation, grammar checking and +morphological analysis for Finnish language. Spell checking is supported for +other languages through @acronym{HFST, Helsinki Finite-State Technology} +backend. + +Libvoikko aims to provide support for languages that are not well served by +Hunspell or other existing free linguistic tools.") + ;; Library and default backends are under tri-license. + (license (list license:gpl2+ license:lgpl2.1+ license:mpl1.1)))) -- 2.41.0
guix-patches@HIDDEN
:bug#66049
; Package guix-patches
.
Full text available.Received: (at 66049) by debbugs.gnu.org; 17 Sep 2023 12:27:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 17 08:27:13 2023 Received: from localhost ([127.0.0.1]:49326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qhqrp-00070R-25 for submit <at> debbugs.gnu.org; Sun, 17 Sep 2023 08:27:13 -0400 Received: from mail-lj1-f182.google.com ([209.85.208.182]:57626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jussi.timperi@HIDDEN>) id 1qhqri-0006zR-Cb for 66049 <at> debbugs.gnu.org; Sun, 17 Sep 2023 08:27:07 -0400 Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2bfea381255so19271251fa.3 for <66049 <at> debbugs.gnu.org>; Sun, 17 Sep 2023 05:26:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694953612; x=1695558412; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qK7uh/yQ8MBYEC+iHYzANEjmKUNb8MgRJfLQ3ZsntU0=; b=wuArtqk4au2pYD5sIvRHFBcCwkfY1r4nNHDB0NmRXHuer61EyDYEm6s7STAHV+0nhj zdu4uc5YwOdqXzh/nDxW8dF59fy2HthnE6RA/9M3NETimwaeke8SiotEh4lY+Agh4ZTj y0THlImkLH66r/pmIG9qoTioduryHH10jSIBkKpHttSK0UOzbkyALlAtJ8qMK3qpRyne G183z+5fSDf4SSXW7JtwWAXi1jVOKfwvkdywVdeBftneNzsH8R8EeHLVNC7So72d6Et0 kMaQIN1ruEt67y/YN7daUo4IffdWLepsT0PczAcOcDpFVxkYzGWakcn9WH3B16AmRA2d 4UHg== X-Gm-Message-State: AOJu0YwHXpoB7JWMEfEMTyEXcX2Wv/JY7bQAqfPLoQXF+qZ2zCYGvsnH wDhRQlnLk4Y0OfZSVB6g000fMEeBB5peHg== X-Google-Smtp-Source: AGHT+IGFX7qNZPt6OsJ+397nBjELxU8w42Wjr+J3J8wbOr5HneV+4mwIv1J6HwJVMRHeQLXC5EPInQ== X-Received: by 2002:a2e:80d7:0:b0:2b9:f2e8:363 with SMTP id r23-20020a2e80d7000000b002b9f2e80363mr5465272ljg.51.1694953612146; Sun, 17 Sep 2023 05:26:52 -0700 (PDT) Received: from localhost.localdomain ([2001:999:68d:40f7:e230:bf6b:c2ea:6ff9]) by smtp.gmail.com with ESMTPSA id q63-20020a2e2a42000000b002b6d781b60esm521731ljq.82.2023.09.17.05.26.51 for <66049 <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 05:26:51 -0700 (PDT) From: Jussi Timperi <jussi.timperi@HIDDEN> To: 66049 <at> debbugs.gnu.org Subject: [PATCH 2/4] gnu: Add foma. Date: Sun, 17 Sep 2023 15:26:23 +0300 Message-ID: <cf05339bd26ad4e84f21e02f4ca1edf80ba2df84.1694949552.git.jussi.timperi@HIDDEN> X-Mailer: git-send-email 2.41.0 In-Reply-To: <cover.1694949552.git.jussi.timperi@HIDDEN> References: <cover.1694949552.git.jussi.timperi@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 66049 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) * gnu/packages/language.scm (foma): New variable. --- gnu/packages/language.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index 241b145440..625462fad0 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -32,10 +32,12 @@ (define-module (gnu packages language) #:use-module (gnu packages audio) #:use-module (gnu packages backup) #:use-module (gnu packages base) + #:use-module (gnu packages bison) #:use-module (gnu packages compression) #:use-module (gnu packages dbm) #:use-module (gnu packages docbook) #:use-module (gnu packages emacs) + #:use-module (gnu packages flex) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) @@ -55,6 +57,7 @@ (define-module (gnu packages language) #:use-module (gnu packages python) #:use-module (gnu packages perl-check) #:use-module (gnu packages qt) + #:use-module (gnu packages readline) #:use-module (gnu packages ruby) #:use-module (gnu packages scheme) #:use-module (gnu packages sqlite) @@ -1212,3 +1215,39 @@ (define-public hfst-ospell optimized-lookup format based spell checker library and a demonstrational implementation of command line based spell checker.") (license license:asl2.0))) + +(define-public foma + (let ((commit "fe40aceea1797642dd1cf0fa61fd024c7a7f7095") + (revision "0")) + (package + (name "foma") + (version (git-version "0.10.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mhulden/foma") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1y6yjc72wh6gqqip6jjnrzwv95inr1kncnnfd144vfnvv9bj3msx")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f ;no tests + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "foma") #t))))) + (inputs (list ncurses readline zlib)) + (native-inputs (list bison flex pkg-config)) + (home-page "https://fomafst.github.io/") + (synopsis "Finite-state compiler and C library") + (description + "Foma is a compiler, programming language, and C library for +constructing finite-state automata and transducers for various uses. + +It has specific support for many natural language processing applications such +as producing morphological analyzers. Although NLP applications are probably +the main use of foma, it is sufficiently generic to use for a large number of +purposes.") + (license license:asl2.0)))) -- 2.41.0
guix-patches@HIDDEN
:bug#66049
; Package guix-patches
.
Full text available.Received: (at 66049) by debbugs.gnu.org; 17 Sep 2023 12:27:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 17 08:27:08 2023 Received: from localhost ([127.0.0.1]:49322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qhqrj-000705-L3 for submit <at> debbugs.gnu.org; Sun, 17 Sep 2023 08:27:07 -0400 Received: from mail-lj1-f174.google.com ([209.85.208.174]:58851) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jussi.timperi@HIDDEN>) id 1qhqrg-0006zN-Li for 66049 <at> debbugs.gnu.org; Sun, 17 Sep 2023 08:27:06 -0400 Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2bfbd7d49e7so57413861fa.1 for <66049 <at> debbugs.gnu.org>; Sun, 17 Sep 2023 05:26:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694953610; x=1695558410; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HTX/QMfeltDjvIvRXPhNWtRE+it/eNI+P5SFS8/C5aI=; b=GtpmQWe2IbHWRuv1aEQUoKG6bsCYJFVwZYSh+fVRL13NEGVtPuL1jJH9AUXRVSbrUF oa5zCryxU8BUZYPASQvEamGx4aKqu+bLWTEa1Ya1p4PLFUSMItD7kK/yTkNGTdv8k3c1 soW04PVCrR9lydcoqGaVzQw5d2rN/6zfm3Utd0PhQf9ANZ66ONMSTzabJJFuosxhjQV/ FBDeesKVHCi4nTLzKkgW2uEacVMsAuItMbykTOUuoxSrsUP/ZLcSmwBdk7nyPJYf78QV 33fpO59PRFzIrqSORSsXsrRbELB07/cFVUHaIWhm5b9dPXMlBaDtgKHnln3vvqX3oWWH /5rw== X-Gm-Message-State: AOJu0YzX+tFd+dLNTduZtcbL+YSM4pKsP5Gs/Syxl9lgV1gbc0zBGq7c E0XP2MSwgn5cSVq7i8c7QnbMnWg7K3n5hA== X-Google-Smtp-Source: AGHT+IGICc5zjEV2kF7lA116snvKofpAKZJUIuEw6yToWO2eUTw91aHQKL887g7ZIy40jDVJPHiS7g== X-Received: by 2002:a2e:8388:0:b0:2b9:e831:f16a with SMTP id x8-20020a2e8388000000b002b9e831f16amr5246844ljg.26.1694953610378; Sun, 17 Sep 2023 05:26:50 -0700 (PDT) Received: from localhost.localdomain ([2001:999:68d:40f7:e230:bf6b:c2ea:6ff9]) by smtp.gmail.com with ESMTPSA id q63-20020a2e2a42000000b002b6d781b60esm521731ljq.82.2023.09.17.05.26.49 for <66049 <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 05:26:49 -0700 (PDT) From: Jussi Timperi <jussi.timperi@HIDDEN> To: 66049 <at> debbugs.gnu.org Subject: [PATCH 1/4] gnu: Add hfst-ospell. Date: Sun, 17 Sep 2023 15:26:22 +0300 Message-ID: <26ea24767c58510bd07dca82c2d297112d86ecae.1694949552.git.jussi.timperi@HIDDEN> X-Mailer: git-send-email 2.41.0 In-Reply-To: <cover.1694949552.git.jussi.timperi@HIDDEN> References: <cover.1694949552.git.jussi.timperi@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 66049 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) * gnu/packages/language.scm (hfst-ospell): New variable. --- gnu/packages/language.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index faf3114b84..241b145440 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2022 Milran <milranmike@HIDDEN> ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@HIDDEN> ;;; Copyright © 2023 gemmaro <gemmaro.dev@HIDDEN> +;;; Copyright © 2023 Jussi Timperi <jussi.timperi@HIDDEN> ;;; ;;; This file is part of GNU Guix. ;;; @@ -29,6 +30,7 @@ (define-module (gnu packages language) #:use-module (gnu packages anthy) #:use-module (gnu packages autotools) #:use-module (gnu packages audio) + #:use-module (gnu packages backup) #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages dbm) @@ -40,6 +42,7 @@ (define-module (gnu packages language) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) #:use-module (gnu packages ibus) + #:use-module (gnu packages icu4c) #:use-module (gnu packages java) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) @@ -1179,3 +1182,33 @@ (define-public mecab-unidic from the database are used as entries (heading terms).") ;; triple-licensed (at the user’s choice) (license (list license:gpl2+ license:lgpl2.1 license:bsd-3)))) + +(define-public hfst-ospell + (package + (name "hfst-ospell") + (version "0.5.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hfst/hfst-ospell") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0n8zds3s3gj3fws6ghjr9cpgswasnjqr9rz4syxy2yq8n2fzb8fp")))) + (build-system gnu-build-system) + (arguments + (list + ;; Don't use obsolete XML libraries. + ;; see: https://github.com/hfst/hfst-ospell/issues/48 + #:configure-flags #~'("--without-libxmlpp" "--without-tinyxml2" + "--enable-zhfst"))) + (inputs (list icu4c libarchive)) + (native-inputs (list autoconf automake libtool pkg-config)) + (home-page "https://github.com/hfst/hfst-ospell") + (synopsis "HFST spell checker library and command line tool") + (description + "Minimal @acronym{HFST, Helsinki Finite-State Technology} +optimized-lookup format based spell checker library and a demonstrational +implementation of command line based spell checker.") + (license license:asl2.0))) -- 2.41.0
guix-patches@HIDDEN
:bug#66049
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 17 Sep 2023 12:21:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 17 08:21:42 2023 Received: from localhost ([127.0.0.1]:49315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qhqmT-0006rM-Tk for submit <at> debbugs.gnu.org; Sun, 17 Sep 2023 08:21:42 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jussi.timperi@HIDDEN>) id 1qhqmQ-0006r7-C8 for submit <at> debbugs.gnu.org; Sun, 17 Sep 2023 08:21:40 -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 <jussi.timperi@HIDDEN>) id 1qhqmD-0001t8-CG for guix-patches@HIDDEN; Sun, 17 Sep 2023 08:21:25 -0400 Received: from mail-lf1-f53.google.com ([209.85.167.53]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <jussi.timperi@HIDDEN>) id 1qhqmB-0006O2-FF for guix-patches@HIDDEN; Sun, 17 Sep 2023 08:21:25 -0400 Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-500bbe3ef0eso4288746e87.1 for <guix-patches@HIDDEN>; Sun, 17 Sep 2023 05:21:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694953280; x=1695558080; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=v3TbRhPRiNQ0cKChofRNxM5OCIJG8fhCEk/Yf1pwX5Y=; b=H9GlcX6QVwnZM/4qzp5fK/JKCphu3HjMLnsl9pc54u/2a1I+Pw5EgT9/STbEsYya8V g6Cunjnj8Y+fGh6Yr3Wc/bpMzFcm8dugIsl21jh9uiwTcb3h+HPb4T/P2aYeW+HKM/9Z jlALpMI8A4S7ZQDr7HyToAyz/963lQa6MoDo0vOmuJLgDhiaMlVpDpldESLVumAATe/W vI7wJH3sKIwbPUSdx1p7vfhQiFZbECP5cui1TLhIJrsEMGUuCCGRr0u7DNV0ftvyohDP cvEDFrZg8JLoJv4ZLDgWOT5e9sHW3j6y+yvC7w78kqqSxfgbRq5az8RhRULWVNA/G7Ba ++EQ== X-Gm-Message-State: AOJu0YxV6SKk6HKN3g8I9pmsGURZow/lPmGgP6MkOuEGiRv5lnSuNPeN KSMo/Xr6CrNe4Dg9CEq7Ep9+dCom8zdJxQ== X-Google-Smtp-Source: AGHT+IHRYZj0SXhKVYg4ZVbX0PiCJqsON95zKs4/EaEVyZnmqoCPeNxu1lt/qZqhM6jcxEgHS8PZbQ== X-Received: by 2002:a05:6512:36c5:b0:500:91f6:f129 with SMTP id e5-20020a05651236c500b0050091f6f129mr2193811lfs.26.1694953280375; Sun, 17 Sep 2023 05:21:20 -0700 (PDT) Received: from localhost.localdomain ([2001:999:68d:40f7:e230:bf6b:c2ea:6ff9]) by smtp.gmail.com with ESMTPSA id c6-20020a056512238600b004fde41a2059sm536983lfv.305.2023.09.17.05.21.18 for <guix-patches@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 05:21:19 -0700 (PDT) From: Jussi Timperi <jussi.timperi@HIDDEN> To: guix-patches@HIDDEN Subject: [PATCH 0/4] Add Voikko. Date: Sun, 17 Sep 2023 15:20:04 +0300 Message-ID: <cover.1694949552.git.jussi.timperi@HIDDEN> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=209.85.167.53; envelope-from=jussi.timperi@HIDDEN; helo=mail-lf1-f53.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Guix, This series adds Voikko, a morphological analyzer, spelling and grammar checker, hyphenator and collection of related linguistic data. It is probably the most widely used libre spell checker for Finni [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jussi.timperi[at]gmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.5 (/) Hi Guix, This series adds Voikko, a morphological analyzer, spelling and grammar checker, hyphenator and collection of related linguistic data. It is probably the most widely used libre spell checker for Finnish language. 'foma' dependency uses the latest git snapshot instead of a stable release to remove the need for patches. Since the latest release, the project has switched to cmake based build[1], fixing a number of issues with the old Makefile based build. Other distributions, like Debian and Fedora, also use snapshots for this reason. Kind regards, Jussi Footnotes: [1] https://github.com/mhulden/foma/commit/a76cb52bc83f9d27e44d4f77d10dbca4e0a9a034 Jussi Timperi (4): gnu: Add hfst-ospell. gnu: Add foma. gnu: Add libvoikko. gnu: Add voikko-fi. gnu/packages/language.scm | 141 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) base-commit: 9b78699744b0c4c8af28820cc4f0d59b9d317ead -- 2.41.0
Jussi Timperi <jussi.timperi@HIDDEN>
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#66049
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.