Skip to content

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

Notifications You must be signed in to change notification settings

matoi/engchecker2flycheck

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.9%
  • Emacs Lisp 9.1%