engchecker2flycheck

english grammar cheker interfece to emacs flycheck


License
AGPL-3.0
Install
pip install engchecker2flycheck==0.0.2

Documentation

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)