Re: NSSpellServer & period
Re: NSSpellServer & period
- Subject: Re: NSSpellServer & period
- From: Douglas Davidson <email@hidden>
- Date: Tue, 6 Jan 2004 16:00:36 -0800
On Jan 5, 2004, at 5:22 PM, Steingrmmur Arnason wrote:
FYI Apple's own English spell server doesn't seem to take sentences
into account and doesn't claim that this is wrong: "this is some text.
some". In this case I imagine that the first word in the string should
be wrong as is isn't capitalized and the same goes for "some" being
the first word after a period. But when I type this into TextEdit and
run the built-in English spell checking - no errors are reported. (It
doesn't even seem to be case sensitive at all)
You are quite right--because capitalization is context-sensitive, the
spellchecker shipped by Apple regards it as a matter of grammar rather
than spelling, and in its current incarnation does not report incorrect
capitalization at all.
The problem of text being sent to the spellchecker without sufficient
surrounding context is a longstanding issue with the NSTextView
implementation of as-you-type spellchecking; I believe Panther should
be better in this regard. However, keep in mind that the architecture
of the spellchecking system implies that the server does not have
control over this; it is up to the client to determine how much context
is sent, so the server must be prepared to deal with as much or as
little context as the client sends.
Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.