Re: Looking for a grammar/spelling tool for XML I-D

Adam Roach <adam@nostrum.com> Tue, 17 November 2020 07:23 UTC

Return-Path: <adam@nostrum.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F36883A1115; Mon, 16 Nov 2020 23:23:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.403
X-Spam-Level:
X-Spam-Status: No, score=-1.403 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001, KHOP_HELO_FCRDNS=0.276, NICE_REPLY_A=-0.001, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=nostrum.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id unx2iBuiDWIU; Mon, 16 Nov 2020 23:23:23 -0800 (PST)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6A86F3A1106; Mon, 16 Nov 2020 23:23:23 -0800 (PST)
Received: from [172.17.121.48] (76-218-40-253.lightspeed.dllstx.sbcglobal.net [76.218.40.253]) (authenticated bits=0) by nostrum.com (8.16.1/8.16.1) with ESMTPSA id 0AH7NLbl024316 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 17 Nov 2020 01:23:22 -0600 (CST) (envelope-from adam@nostrum.com)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nostrum.com; s=default; t=1605597802; bh=a/wESEo7BhaetIfNLC9uTJ4Y4DNX3EkJOeYXQ04Bbr0=; h=Subject:To:References:From:Date:In-Reply-To; b=Yig0J0Z8GeZdR1kfj0rPoGcl8EimTET7qSUY0ir41kcczgVCs4jM3groBd8VhOQfK aUKDlr+xHejREWUVwUk/Xuvozn62h3SFwn7zq1zdJw+PFirqnf83MwHRc05ST2nq37 DVRvYs+IhGkMGMbbSJzQehMPRwyHIF9ICixfU9bc=
X-Authentication-Warning: raven.nostrum.com: Host 76-218-40-253.lightspeed.dllstx.sbcglobal.net [76.218.40.253] claimed to be [172.17.121.48]
Subject: Re: Looking for a grammar/spelling tool for XML I-D
To: "Eric Vyncke (evyncke)" <evyncke=40cisco.com@dmarc.ietf.org>, "ietf@ietf.org" <ietf@ietf.org>
References: <27EC28EB-E58F-48EA-ABE0-99E0DF709847@cisco.com> <B8DA9AB2-1930-4F61-8141-1CD7128F0062@cisco.com>
From: Adam Roach <adam@nostrum.com>
Message-ID: <b7ac866f-beaa-94aa-c2b2-f2718d7c4a85@nostrum.com>
Date: Tue, 17 Nov 2020 01:23:15 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1
MIME-Version: 1.0
In-Reply-To: <B8DA9AB2-1930-4F61-8141-1CD7128F0062@cisco.com>
Content-Type: multipart/alternative; boundary="------------933E7642AF63651D908187C8"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/orXOuVK8p8vL8-zqQbxYGeRsWK4>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Nov 2020 07:23:25 -0000

Incidentally, running aspell with the "-H" flag works just fine for 
spell-checking XML sources. This is what I've done for years.

/a

On 11/16/2020 7:10 AM, Eric Vyncke (evyncke) wrote:
>
> For information, there is now a list of tools to check grammar (in 
> addition to spelling) in XML formatted IETF drafts.
>
> The list is on this public IESG wiki page: 
> https://trac.ietf.org/trac/iesg/wiki/GrammarCheckingID
>
> Hope this helps and comments/suggestions/additions are welcome
>
> Have a wonderful, error free, IETF-109 ;-)
>
> -éric
>
> *From: *Eric Vyncke <evyncke@cisco.com>
> *Date: *Thursday, 20 August 2020 at 15:38
> *To: *"ietf@ietf.org" <ietf@ietf.org>
> *Subject: *Looking for a grammar/spelling tool for XML I-D
>
> Written by a non-English speaker...
>
> The IESG believes that the I-D review (in last call, in IESG telechat, 
> ...) could be improved for some documents if the grammar was correct 
> and typos absent (and I plead guilty to do typos in my documents). 
> Easier said than done of course.
>
> Most modern word processors have this feature but I know about no 
> tools able to do this check on .XML or .TXT...
>
> So, we are looking forward for any tools on-line/off-line being able 
> to do this. It could be a tool-chain built on GNU aspell or course 
> (but aspell does not check grammar) or via an API to 
> https://languagetool.org/ .
>
> Henrik wrote https://tools.ietf.org/tools/idspell/idspell.pyht but is 
> dated 2007 and we could probably do better in 2020 ;-)
>
> Thank you for pointers, suggestions, comments
>
> -éric
>