git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Some misspelling errors in the git release 2.24.0

From
Elijah Newren <newren@gmail.com>
Date
Nov 5, 2019, 18:24 UTC
Message-ID
<CABPp-BEzSaf2W+rfUOjEAETK0YFa5-2ZFD0WLV6j-D4LjACjJg@mail.gmail.com>
In-Reply-To
<20191105171107.27379-1-newren@gmail.com>
On Tue, Nov 5, 2019 at 9:11 AM Elijah Newren <newren@gmail.com> wrote:
> On Mon, Nov 4, 2019 at 8:14 AM Fossies Administrator <Jens.Schleusener@fossies.org> wrote:
> > > On Mon, Nov 4, 2019 at 7:07 AM Fossies Administrator
> > > <Jens.Schleusener@fossies.org> wrote:
Show 22 quoted lines
> But I thought it might also be worthwhile to you to report what the
> false positives found by that program were; I've included them at the
> end of this email in the form of a patch.  The places where the program
> seemed to struggle were:
>
>   * In dealing with translation files.  It didn't recognize them as
>     such and often tried to translate foreign words to a nearby English
>     one.
>   * In handling variable names: acronyms might be similar to english
>     words (cas, for compare and swap, looks like case), abbreviations
>     might look like alternate words (ans, short for answer, looks like
>     and).
>   * Testcases with intentional spelling errors
>   * Proper names that were similar to English words (Ned -> Need,
>     Claus -> Clause)
>   * miscellaneous tech jargon or package names (e.g. 'filetest' module
>     being replaced with 'file test', 'ith' as in not first or second
>     but the item at position i being replaced with 'with', 'mmaped'
>     being replaced with 'mapped', 'CREAT' changing to 'CREATE',
>     'UserA' (out of a sequence of UserB, UserC, etc.) changing to
>     'users', 'spawnve' function name being replaced with "spawn",
>     'CAs' (certificate authorities) being replaced with 'case', etc.)

Ooh, one more I remembered that I wanted to point out. It found the spelling error 'achiving', but it wanted to replace it with 'achieving' rather than the correct 'archiving'. Given that the correct is the same edit distance from the spelling error, it made me wonder whether the dictionary in use just needed to be expanded a little.

Previous: Fossies AdministratorNext: Fossies Administrator
Message 4 of 7 in “Some misspelling errors in the git release 2.24.0”
  1. Fossies AdministratorNov 4, 2019
  2. Elijah NewrenNov 4, 2019
  3. Fossies AdministratorNov 4, 2019
  4. Elijah NewrenNov 5, 2019
  5. Fossies AdministratorNov 6, 2019
  6. Elijah NewrenNov 7, 2019
  7. Fossies AdministratorNov 7, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.