[Koha-devel] QA script - New check for spelling

Jonathan Druart jonathan.druart at biblibre.com
Wed Jul 8 15:39:19 CEST 2015


See man codespell:
--dictionary=FILE
Custom dictionary file that contains spelling corrections. If this
flag is not specified then default  dictionary
"/usr/share/codespell/dictionary.txt" is used.

So it's possible to provide a customi(s|z)ed file for our need.
Note that
  grep -P "colou?r" /usr/share/codespell/dictionary.txt
does not return anything.

But
  grep -P "i(s|z)ed" /usr/share/codespell/dictionary.txt
does. Some stuffs like:
  speciallized->specialised, specialized,

2015-06-25 13:06 GMT+01:00 Mark Tompsett <mtompset at hotmail.com>:
>
> Greetings,
>
> Jonathan Druart<jonathan.druart at biblibre.com> wrote:
>>
>> It's in test for the moment, we will see
>> if the number of false positive is high or not.
>> Why do you worry about them?
>
>
> I’m sure Mr. Colorful Colour will help explain why color and other words
> like it might be an issue, neighbour. :)
>
> Your friendly neighborhood Canadian,
> Mark Tompsett
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/


More information about the Koha-devel mailing list