Re: API for adding dictionary to MacOS ?
Re: API for adding dictionary to MacOS ?
- Subject: Re: API for adding dictionary to MacOS ?
- From: Douglas Davidson <email@hidden>
- Date: Wed, 18 Jul 2001 09:01:52 -0700
On Wednesday, July 18, 2001, at 04:37 AM, Andre John Mas wrote:
I noticed that some programs, such as mail, offer a dictionary, though
this appears to a service offered by the system itself, rather than the
program. I would be interested in adding dictionaries for other
languages
(including international English) or maybe even making use of an
on-line
dictionary. Is there an API for doing, or how do I achieve this?
I assume you're talking about spelling checkers here. Yes, you can do
this, by creating a spell checker service, using the NSSpellServer
class. Take a look at the NSSpellServer class documentation to see how
to write a spell checker, and at the last section of the services
documentation for how to install it.
I should note that Apple is actively working on its existing spelling
checker, and there is likely to be more development in this area in the
future, but you should continue to be able to use the current
architecture for your custom spell checkers.
Douglas Davidson