From unknown Fri Aug 22 01:04:00 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#29753 <29753@debbugs.gnu.org> To: bug#29753 <29753@debbugs.gnu.org> Subject: Status: [PATCH] Add grammalecte. Reply-To: bug#29753 <29753@debbugs.gnu.org> Date: Fri, 22 Aug 2025 08:04:00 +0000 retitle 29753 [PATCH] Add grammalecte. reassign 29753 guix-patches submitter 29753 Nicolas Goaziou severity 29753 normal tag 29753 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 17 05:50:04 2017 Received: (at submit) by debbugs.gnu.org; 17 Dec 2017 10:50:04 +0000 Received: from localhost ([127.0.0.1]:38087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQWW6-0005CF-DT for submit@debbugs.gnu.org; Sun, 17 Dec 2017 05:50:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQWW4-0005C2-8O for submit@debbugs.gnu.org; Sun, 17 Dec 2017 05:49:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQWVy-0005I0-2l for submit@debbugs.gnu.org; Sun, 17 Dec 2017 05:49:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41649) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eQWVx-0005Hp-Ug for submit@debbugs.gnu.org; Sun, 17 Dec 2017 05:49:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQWVw-0006Dj-D9 for guix-patches@gnu.org; Sun, 17 Dec 2017 05:49:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQWVs-0005FF-Hh for guix-patches@gnu.org; Sun, 17 Dec 2017 05:49:48 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:59798) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eQWVs-0005Dk-AY for guix-patches@gnu.org; Sun, 17 Dec 2017 05:49:44 -0500 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id BB104172095 for ; Sun, 17 Dec 2017 11:49:41 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eQWVp-00082z-26 for guix-patches@gnu.org; Sun, 17 Dec 2017 11:49:41 +0100 From: Nicolas Goaziou To: guix-patches@gnu.org Subject: [PATCH] Add grammalecte. User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Sun, 17 Dec 2017 11:49:41 +0100 Message-ID: <87a7yhochm.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) --=-=-= Content-Type: text/plain Hello, The following patch adds a french grammar checker. Regards, -- Nicolas Goaziou 0x80A93738 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-grammalecte.patch Content-Description: Add grammalecte >From 6b687b4b89e8174fb2e55a9353a4b43d2019dffd Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 17 Dec 2017 11:45:47 +0100 Subject: [PATCH] gnu: Add grammalecte. * gnu/packages/dictionaries.scm (grammalecte): New variable. --- gnu/packages/dictionaries.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 062c29b66..593967705 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -23,6 +23,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #:use-module (guix build-system trivial) #:use-module (gnu packages base) #:use-module (gnu packages curl) @@ -206,6 +207,45 @@ It comes with a German-English dictionary with approximately 270,000 entries.") (home-page "http://www-user.tu-chemnitz.de/~fri/ding/") (license gpl2+))) +(define-public grammalecte + (package + (name "grammalecte") + (version "0.6.1") + (source + (origin + (method url-fetch/zipbomb) + (uri (string-append "https://www.dicollecte.org/grammalecte/zip/" + "Grammalecte-fr-v" version ".zip")) + (sha256 + (base32 + "0bl342i7nqbg8swk3fxashg9liyp3jdnix59pndhy41cpm1xln4i")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-setup.py + ;; FIXME: "setup.py" contains a typo in 0.6.1 release. The + ;; issue was reported and fixed upstream + ;; (https://dicollecte.org/thread.php?prj=fr&t=674). This + ;; phase can be removed in next release. + (lambda _ + (substitute* "setup.py" + (("server_options\\.") "grammalecte-server-options.")) + #t))))) + (home-page "https://www.dicollecte.org") + (synopsis "French spelling and grammar checker") + (description "Grammalecte is a grammar checker dedicated to the French +language, derived from Lightproof. + +Grammalecte aims at helping to write a proper French without distracting users +with false positives. This grammar checker follows the principle: the less +false positives, the better; if it can not know with a good chance if +a dubious expression is wrong, it will keep silent. + +The package provides the command line interface, along with a server +and a Python library.") + (license license:gpl3+))) + (define-public translate-shell (package (name "translate-shell") -- 2.15.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 17 11:59:00 2017 Received: (at 29753) by debbugs.gnu.org; 17 Dec 2017 16:59:00 +0000 Received: from localhost ([127.0.0.1]:39279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQcHE-0008BQ-1y for submit@debbugs.gnu.org; Sun, 17 Dec 2017 11:59:00 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:34584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQcHC-0008BI-Bh for 29753@debbugs.gnu.org; Sun, 17 Dec 2017 11:58:58 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 5A49FF54D; Sun, 17 Dec 2017 17:59:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9r50gJFMYmj1; Sun, 17 Dec 2017 17:59:00 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id A0AE0727; Sun, 17 Dec 2017 17:58:59 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Nicolas Goaziou Subject: Re: [bug#29753] [PATCH] Add grammalecte. References: <87a7yhochm.fsf@nicolasgoaziou.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Frimaire an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 17 Dec 2017 17:58:54 +0100 In-Reply-To: <87a7yhochm.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 17 Dec 2017 11:49:41 +0100") Message-ID: <878te19tpt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 29753 Cc: 29753@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Heya, Nicolas Goaziou skribis: > From 6b687b4b89e8174fb2e55a9353a4b43d2019dffd Mon Sep 17 00:00:00 2001 > From: Nicolas Goaziou > Date: Sun, 17 Dec 2017 11:45:47 +0100 > Subject: [PATCH] gnu: Add grammalecte. > > * gnu/packages/dictionaries.scm (grammalecte): New variable. [...] > + (home-page "https://www.dicollecte.org") > + (synopsis "French spelling and grammar checker") > + (description "Grammalecte is a grammar checker dedicated to the Fren= ch > +language, derived from Lightproof. > + > +Grammalecte aims at helping to write a proper French without distracting= users > +with false positives. This grammar checker follows the principle: the l= ess > +false positives, the better; if it can not know with a good chance if s/can not/cannot/ :-) Otherwise LGTM! Do you know if there=E2=80=99s Emacs integration (Flyspell maybe?)? Thank you, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 17 13:03:35 2017 Received: (at 29753-done) by debbugs.gnu.org; 17 Dec 2017 18:03:35 +0000 Received: from localhost ([127.0.0.1]:39300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQdHj-0001GS-43 for submit@debbugs.gnu.org; Sun, 17 Dec 2017 13:03:35 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:53229) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQdHh-0001GK-HB for 29753-done@debbugs.gnu.org; Sun, 17 Dec 2017 13:03:34 -0500 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 886F017209C; Sun, 17 Dec 2017 19:03:31 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eQdHf-00055T-0N; Sun, 17 Dec 2017 19:03:31 +0100 From: Nicolas Goaziou To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [bug#29753] [PATCH] Add grammalecte. In-Reply-To: <878te19tpt.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sun, 17 Dec 2017 17:58:54 +0100") References: <87a7yhochm.fsf@nicolasgoaziou.fr> <878te19tpt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Sun, 17 Dec 2017 19:03:30 +0100 Message-ID: <87fu89mdu5.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29753-done Cc: 29753-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> +Grammalecte aims at helping to write a proper French without distractin= g users >> +with false positives. This grammar checker follows the principle: the = less >> +false positives, the better; if it can not know with a good chance if > > s/can not/cannot/ :-) Fixed. > Otherwise LGTM! Pushed. Thank you. > Do you know if there=E2=80=99s Emacs integration (Flyspell maybe?)? There is one at . However, quoting its author: "This package is currently a quick hack-around". Regards, --=20 Nicolas Goaziou 0x80A93738 From unknown Fri Aug 22 01:04:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 15 Jan 2018 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator