all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Is it possible to do grammar checking within emacs?
Date: Fri, 19 Oct 2007 13:07:23 +0200	[thread overview]
Message-ID: <u3aw7icr8.fsf@gnu.org> (raw)
In-Reply-To: <1192749630.493256.235300@t8g2000prg.googlegroups.com> (message from xz on Thu, 18 Oct 2007 23:20:30 -0000)

> From: xz <zhang.xi.cn@gmail.com>
> Date: Thu, 18 Oct 2007 23:20:30 -0000
> 
> On Oct 16, 10:52 am, xz <zhang.xi...@gmail.com> wrote:
> > Yes, I know it can check the spelling. But what about grammar?
> >
> > If this is possible through emacs, How well does it work, compared
> > with MS word, which is the only software I know that can do grammar
> > checking?
> 
> anybody gives an idea?

There just aren't good solutions to this problem.

This page:

   http://faculty.washington.edu/sandeep/check/

will explain why you shouldn't treat the MS Word grammar checker as a
standard of quality.  Try the demo files you find there, and you will
see how miserably Word fails to find even the most trivial mistakes of
English usage.

After searching the net and reading a few papers by specialists in
this area, my conclusion was that the state of the art of the current
technology is simply not good enough for solving this problem in a
satisfactory manner.  The best solutions nowadays rely on data bases
that hold patterns of known abuses of a language and search for those
patterns in the text.  So don't expect too much from the few solutions
I suggest below.

One program that is free software is `diction' (you can find it on GNU
ftp servers); there's diction.el that provides a rather simple Emacs
front end to it.

There's also style-checker
(http://www.cs.umd.edu/~nspring/software/style-check-readme.html),
which is written in Ruby; I'm not aware of any Emacs feature that uses
it, but it shouldn't be hard to write one, or maybe write an Elisp
style checker that just uses the data base which comes with this
package.

Yet another tool is grac (http://grac.sourceforge.net/).  Again, I
don't know about any Emacs interfaces to it.

HTH

  reply	other threads:[~2007-10-19 11:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-16 15:52 Is it possible to do grammar checking within emacs? xz
2007-10-18 23:20 ` xz
2007-10-19 11:07   ` Eli Zaretskii [this message]
     [not found]   ` <mailman.2289.1192792054.18990.help-gnu-emacs@gnu.org>
2007-10-19 15:01     ` xz
2007-10-20 20:33     ` gnuist006
2007-10-20 21:07       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u3aw7icr8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.