Giter Site home page Giter Site logo

grammarbot.el's Introduction

grammarbot.el

This file is automatically generated from grammarbot.el by GitHub#ellit-org.el tool. Do not edit manually.

grammarbot.el is GNU Emacs interface to wonderful GrammarBot service.

grammarbot.el interface is similar to ispell. There is only one command M-x grammarbot RET to check either buffer or active region.

Customizable Options

You can customize grammarbot.el with M-x customize-group RET grammarbot RET using Emacs Easy Customization Interface

Or just tweak following user options in your init.el:

  • User Option: grammarbot-language

    Language to use. Default value: “en-US”

    Please note that only English is supported at the moment (“en-US” or “en-GB”).

  • User Option: grammarbot-show-stats, default: t

    Non-nil to show statistics for all found issues after check.

    Stats are shown in echo area with message like:

    Grammarbot issues: 2, ignored: 1, replaced: 1
        
  • User Option: grammarbot-api-key

    Your API Key obtained from http://grammarbot.io.

  • User Option: grammarbot-accept-single-choice-rules

    List of rules for issues to automatically accept single choice replacement.

    Consider we are checking next sentence with grammarbot.el:

    However it is wise to automatically accept single replacements
        

    While checking, *Grammarbot Choices* buffer pops up for the issue:

    Did you forget a comma after a conjunctive/linking adverb?
    Rule: (:id "SENT_START_CONJUNCTIVE_LINKING_ADVERB_COMMA" :subId "1" :description "Commas after conjunctive/linking adverbs in front of a new sentence." :issueType "typographical" :urls [(:value "https://writing.wisc.edu/Handbook/ConjAdv.html")] :category (:id "PUNCTUATION" :name "Punctuation"))
    
    (0) However,
        

    As you can see, issue has single replacement - “However,”. For single replacement issues corresponding issue rule is shown.

    You can customize grammarbot-accept-single-choice-rules to automatically accept such issue and do the auto-replacement. To do so, add:

    (add-to-list 'grammarbot-accept-single-choice-rules
    	     '(:issueType "typographical" :category (:id "PUNCTUATION")))
        
  • User Option: grammarbot-ignore-single-choice-rules

    List of rules for issues to automatically ignore single choice replacement.

    Elements of the list are in same format as fors grammarbot-accept-single-choice-rules.

    By default “Whitespace repetition” and “Sentence starts with an uppercase letter” issues are ignored.

grammarbot.el's People

Contributors

conao3 avatar zevlg avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

conao3

grammarbot.el's Issues

Error if no replacements provided for issue

Try to run M-x grammarbot RET on RET@@html text. Error will raise with backtrace

Debugger entered--Lisp error: (wrong-number-of-arguments #<subr max> 0)
  max()
  apply(max nil)
 ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.