We built Saurus, a word processor with real-time natural language processing. It finds synonyms and Wikipedia articles for you as you type.
Check it out at http://thesaurus.meteor.com
The code is written with extensibility in mind, so you can pipe-in new APIs to create new semantic helpers and customize them. It's open sourced and available here: