google-api-spelling-java is a free, open-source and Java based API that facilitates the integration of Google's spell checker into your Java application.
Additionally, the google-api-spelling-java API uses JAXB for Java / XML transformation.
Detailed instructions on how to install and use the google-api-spelling-java utility on your Mac are available HERE.
google-api-spelling-java is a cross-platform utility capable of running on any operating system that comes with Java support (e.g. Mac OS X, Windows, Linux).