Re: [PATCH v2] checkpatch: look for common misspellings

From: Masanari Iida
Date: Wed Sep 10 2014 - 00:37:42 EST


Hello Joe, Kees,

Sorry for late reply.
I was on holiday when the version 1 patch discussions were posted.

I am using codespell ( https://github.com/lucasdemarchi/codespell/ ).
The codespell has its own typo dictionary.
The dictionary format is

typo->good (1 candidate)
typo->good1,good2, (multiple candidates)
typo->good, comment (1 candidate with special remark)

Its similar to your typo||good format.

The license of the codespell is GPLv2 according to COPYING file in tar ball.

Compare number of typo samples in dictionary.
Your dictionary : 1033
codespell-1.4 : 4261
codespell-1.4 + my adding 5245
Your dictionary + codespell-1.4 + my adding - remove duplicate: 5742

Latest version of codespell is 1.7.
My dictionary is based on codespell-1.4. So I use the number as of 1.4.

I can provide my typo samples under GPLv2 license.

Masanari
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/