SkillAgentSearch skills...

Engchecker2flycheck

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

Install / Use

/learn @niitsuma/Engchecker2flycheck
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

  • Install #+BEGIN_SRC bash pip install engchecker2flycheck #+END_SRC

  • Commandline Usage

** textgears

#+BEGIN_SRC bash textgearschkfile your-text-file.txt textgears-key-string #+END_SRC

** link-grammar

Install link-grammar with python module.

Then #+BEGIN_SRC bash linkgrammarengchkfile your-text-file.txt #+END_SRC

** AfterTheDeadline

#+BEGIN_SRC bash wget http://www.polishmywriting.com/download/atd_distribution081310.tgz tar zxf atd_distribution081310.tgz cd atd ./run.sh #+END_SRC

then

#+BEGIN_SRC bash afterthedeadlinechkfile your-text-file.txt #+END_SRC

  • Use from emacs flycheck

#+BEGIN_SRC elisp

(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)

#+END_SRC

Related Skills

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated4y ago
Forks2

Languages

Python

Security Score

55/100

Audited on Apr 3, 2022

No findings