[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Ignore proper nouns



Hi Michael,

Thanks for the info. It seems like it is more trouble than it's worth at
this point. Only one person has asked for such a feature. If it could more
easily be determined whether the word was at the beginning of a sentence,
then it would make more sense, but then again, proper nouns can also appear
at the beginning of a sentence so they would never be treated as ignored
proper nouns when they should like the other words, so that is a minor issue
as well that might have to be addressed (or just ignored).

--
Albert Wiersch
AI Internet Solutions
address@hidden
http://www.htmlvalidator.com/



> -----Original Message-----
> From: Addictive Software [mailto:address@hidden 
> Sent: Wednesday, June 14, 2006 2:17 AM
> To: address@hidden
> Subject: RE: Ignore proper nouns
> 
> 
> 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.