Skip to content

ramonpoca/LanguageToolNSServer

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

LanguageToolNSServer

A NSSpellServer that forwards requests to LanguageTool for grammar checking

This is a quick-and-dirty hack to use LanguageTool as a spell/grammar server on Mac OS X.

To use it, build the project, download LanguageTool and run it as a local HTTP service at port 8081.

To run LanguageTool:

java -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8081

To create and install the service:

  • Download the project.

  • Do a ``pod install'' to install dependencies (you need cocoapods).

  • Open LanguageToolServer.xcworkspace (Not the xcproject).

  • In the project LanguageToolApp-Info.plist, edit the service and add or remove the desired languages (as iso codes)

  • Build LanguageTool.service

  • Copy the LanguageTool.service bundle to ~/Library/Services

  • To force the system to pick it up, go to the terminal and execute:

    /System/Library/CoreServices/pbs -update

You can then use TextEdit or any editor using the standard spelling and grammar dialog to check your texts.

About

A NSSpellServer that forwards requests to LanguageTool for grammar checking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published