Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.26 KB

README.md

File metadata and controls

42 lines (24 loc) · 1.26 KB

Syntax analysis - Emacs minor mode

This Emacs packages provides syntax highlighting (nouns, verb, adverbs...) in English text.

It is a wrapper around the OSX program syn, which itself leverages functionality of MacOSX's natural language processing tools and takes inspiration from iA Writer Pro.

Usage:

  • enable via `M-x wordsmith-mode'

  • shortcuts:

    C-c w n : highlight nouns in buffer

    C-c w v : highlight verbs in buffer

    C-c w w : ido menu to pick an attribute to highlight

    C-c w k : disable wordsmith highlighting in buffer

  • currently, you need to manually re-run the command for it to update when the buffer has changed.

Installation

Install syn first (requires OSX 10.7+) via shell:

curl -Ls https://github.com/stephencelis/syn/releases/download/v0.2.1/syn > syn && chmod 755 syn && mv syn /usr/local/bin

Then install the wordsmith Emacs package using melpa:

M-x package-install RET wordsmith-mode RET

Screencast

mini-screencast