Skip to content

Commit 4e62c5a

Browse files
authored
Merge pull request #56 from dave3d/UpdateREADME
DOC: Update readme
2 parents 2b8f740 + a229729 commit 4e62c5a

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
![python testing](https://github.com/SimpleITK/CommentSpellCheck/actions/workflows/python-app.yml/badge.svg)
44

55

6-
A script that automatically spell checks the comments of a code base.
7-
It is intended to be run on the SimpleITK and ITK code bases.
6+
The CommentSpellCheck (CSC) package provides a script that automatically
7+
spell checks the comments of a code base. It was originally developed to
8+
be run on the SimpleITK and ITK code bases.
89

910
Here is how it is typically run:
1011

@@ -39,3 +40,13 @@ option, the following file types are available: Python (.py), C/C++
3940
and Java (.java). Note that reStructuredText files are treated as standard
4041
text. Consequentially, all markup keywords that are not actual words will
4142
need to be added to the additional/exception dictionary.
43+
44+
## Dictionary notes
45+
46+
By default, on Linux and Mac systems, pyenchant uses [GNU aspell](http://aspell.net/)
47+
as the underlying dictionary. The spell checking is case sensitive. While
48+
aspell allows arbitrary characters in a dictionary word, CSC may split up
49+
a word by non-alphanumeric characters. This split can occur if the word
50+
itself is not found in the dictionary.
51+
52+
If a dictionary word has non-alphanumeric characters, CSC prints a warning.

additional_dictionary.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,7 @@ asarray
842842
ascontiguousarray
843843
asin
844844
asm
845+
aspell
845846
ast
846847
atan
847848
atol

0 commit comments

Comments
 (0)