english grammar cheker command line interfece (intended to use from emacs flycheck)
Python Emacs Lisp
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
engchecker2flycheck
scripts
README.org
dot.emacs.el
setup.cfg
setup.py

README.org

english grammar cheker command line interfece (intended to use from emacs flycheck)

Install

pip install engchecker2flycheck

Commandline Usage

textgears

textgearschkfile   your-text-file.txt textgears-key-string

link-grammar

Install link-grammar with python module.

Then

linkgrammarengchkfile  your-text-file.txt

AfterTheDeadline

wget http://www.polishmywriting.com/download/atd_distribution081310.tgz
tar zxf atd_distribution081310.tgz
cd atd
./run.sh

then

afterthedeadlinechkfile  your-text-file.txt

Use from emacs flycheck

(require 'flycheck)

(setq textgears-key "your textgeras key")

(flycheck-define-checker textgears
    "textgears check"
    :command  ("textgearschkfile"  source  (eval textgears-key )   )
  :error-patterns
  ((warning line-start (file-name) ":" line ":" column ": " (message) line-end))
  :modes (text-mode markdown-mode))

(add-to-list 'flycheck-checkers 'textgears)

(flycheck-define-checker link-grammar
  "link-grammar check"
  :command ("linkgrammarengchkfile" source)
  :error-patterns
  ((warning line-start (file-name) ":" line ":" column ": " (message) line-end))
  :modes (text-mode markdown-mode))

(add-to-list 'flycheck-checkers 'link-grammar)


(flycheck-define-checker afterthedeadline
  "afterthedeadline check"
  :command ("afterthedeadlinechkfile" source)
  :error-patterns
  ((warning line-start (file-name) ":" line ":" column ": " (message) line-end))
  :modes (text-mode markdown-mode))

(add-to-list 'flycheck-checkers 'afterthedeadline)



(add-hook 'markdown-mode-hook 'flycheck-mode)