[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75Vdpgpa=TDt5RgG2Eq_+iLZrRSj9XqB97y01SxhdKUYYgg@mail.gmail.com>
Date: Fri, 11 Jun 2021 11:02:17 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Zhen Lei <thunder.leizhen@...wei.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Nicolas Dichtel <nicolas.dichtel@...nd.com>,
Joe Perches <joe@...ches.com>, Jason Baron <jbaron@...mai.com>,
Stefani Seibold <stefani@...bold.net>,
Jacob Keller <jacob.e.keller@...el.com>,
Thomas Graf <tgraf@...g.ch>,
Herbert Xu <herbert@...dor.apana.org.au>,
Jens Axboe <axboe@...nel.dk>, Petr Mladek <pmladek@...e.com>,
Sergey Senozhatsky <senozhatsky@...omium.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/3] scripts/spelling.txt: add some spelling pairs and reorder
On Fri, Jun 11, 2021 at 10:19 AM Zhen Lei <thunder.leizhen@...wei.com> wrote:
>
> Add spelling_sanitizer.sh and use it to reorder, then add some spelling
> "mistake||correction" pairs.
The sorting idea is good, but the order is not.
What you really need is to use language corpus [1] instead. So in such
case you will eliminate false positives (to some extent).
[1]: https://en.wikipedia.org/wiki/Corpus_of_Contemporary_American_English
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists