From: Lars Aronsson <lars@ar...> - 2007-01-04 20:19:53
Specifying dot (.) in WORDCHARS is very useful for abbreviations.
If I specify "WORDCHARS ." and my dictionary contains "tel." then
"tel" will be a spelling error but "tel." will be correct. And
still the dot can be used at the end of a sentence, so that
"hello." does not become a spelling error.
But if I specify colon (:) in WORDCHARS, then this character can
no longer be used at the end of a sentence, and "hello:" will
be reported as a spelling error.
In Swedish, colon is used in the middle of contracted words. For
example "cirka" is abbreviated "c:a" (first and last letter, with
a colon between) and "Sankt Petersburg" is abbreviated "S:t
Petersburg". This is why I want to use colon in WORDCHARS. But
Swedish also uses colon the same way as in English: like this.
Could Hunspell's behaviour be adjusted so that colon is treated
like dot in this respect? Adding colon to WORDCHARS should not
remove its default status as an interpunctuation character.
And it would be really nice to have space in WORDCHARS, so that
"Sankt Petersburg" could be *one* item in the dictionary (while
"Sankt, Petersburg" would be reported as an error), but I realize
that wish is a magnitude less likely to be implemented.
I'm using Hunspell 1.1.4 on Linux.
Lars Aronsson (lars@...)
Aronsson Datateknik - http://aronsson.se