Laurent Godard wrote:

> Single letters seem not being detected as errors even if not in the
> dictionary.

A similar question: Has anybody tried to spell check whitespace? 
That is, to write software that approves comma followed by 
whitespace, but detects an error if whitespace is followed by 
comma.  Today's spell checkers (back to ispell) all seem to split 
the text into words and non-words and then only spell check the 
words.  Wouldn't it make just as much sense to spell check the 
non-words?  There are rules for each language. For example, 
whitespace before colon is OK in French, but mostly wrong in 
English and Swedish.

You could also want to spell-check numbers so that decimals and 
thousands are properly written 1,234,567.89 and not 1,23,4567.89.  
(For Swedish, that would be decimal comma and non-breakable space 
for the thousands instead.) Or if it is an IP address 
123.456.78.90 the software could remark that 456 is out of range.

A more clever spell checker could also detect 31st April as an 
error.  And even Monday June 19, 2007, since that is a Tuesday.

Will such tests be part of a planned grammar checker?


-- 
  Lars Aronsson ([EMAIL PROTECTED])
  Aronsson Datateknik - http://aronsson.se

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to