[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Ignore proper nouns
- To: <address@hidden>
- Subject: RE: Ignore proper nouns
- From: "Addictive Software" <address@hidden>
- Date: Wed, 14 Jun 2006 00:16:33 -0700
- Delivered-to: mailing list addict3list@lists.addictive-software.com
- In-reply-to: <012901c68efc$b225c3c0$c300a8c0@z2>
- Mailing-list: contact addict3list-help@lists.addictive-software.com; run by ezmlm
- Reply-to: <address@hidden>
- Thread-index: AcaO/JwxVjLliJivSIi8w57dpQFfPgAhTIRQ
This could be done, but it wouldn't really be that simple.
This suggestion would only work in dialog-based spelling checks (not
live-spell).
The primary problem is that Addict doesn't currently try to interpret where
sentence delimiters are. If you can do this yourself, then this becomes
possible.
A suggested implementation would be to hook the OnWordCheck event. If you
encounter a misspelled word that has initial caps, examine the text prior to
the word in quesiton (you can get this info with a little work and
understanding of the ControlParser APIs from the ControlParser property on
the component).
Thanks,
Michael Novak
Addictive Software
http://www.addictive-software.com
address@hidden
> -----Original Message-----
> From: Albert Wiersch [mailto:address@hidden
> Sent: Tuesday, June 13, 2006 8:19 AM
> To: address@hidden
> Subject: Ignore proper nouns
>
>
> Is there an easy way to have Addict ignore proper nouns by looking at
> whether it is the first word in a sentence and the
> capitalization or some
> other method?
>
> A user suggested something like this:
>
> If a word is not in the dictionaries then it is a possible spelling
> mistake... However looking at context... If the word starts
> with a capital
> letter and it is not the first word of the sentence then it
> is likely to be
> a proper noun. In this case see if the control flag has been
> set to ignore
> proper nouns. If proper nouns are to be ignored then do not
> flag this word
> as a spelling mistake.
>
> --
> Albert Wiersch
> AI Internet Solutions
> address@hidden
> http://www.htmlvalidator.com/
>
>
Please visit Addict Home Site.