Thunderbird Grammar Checker 0.5 is released


Now it's compatible with Thunderbird 3.x. The language for checking is correlated with the Spell Checker language. Sorry for delay, but my work load can't give me enough time to support it well.

Future plans:
  • Support inline highlighting. Backend is almost ready, but there are some problems with frontend - I just don't know how to properly modify DOM of the opened message compose window. Looks like I have to use/hook some JS-events, but my current research gives nothing.
  • Move to After The Deadline server instead of LT server-mode. LT is integrated to AtD server (see the News section on However, there is a problem with the current AtD server - it doesn't work locally now: Until they fix the problem, I can't recommend to use it.
  • Implement pure JS-based Grammar Checker engine. See below the notes.
All of these require some time and efforts, and I gladly accept all the help for contributing in this addon.

An example of LanguageTool rule:
    <pattern mark_to="-1">
        <token postag="SENT_START"></token>
        <token regexp="yes">are|were</token>
    <message>Did you mean <suggestion>these</suggestion>?</message>
    <short>Grammatical problem</short>
    <example type="correct">These are errors.</example>
    <example correction="These" type="incorrect"><marker>This</marker> are errors.</example>

As you can see, it is required to support XML parsing, regular expressions and FSM capabilities. All of these can be done in JavaScript, so it's matter only of time and efforts to create pure JS-based engine. As soon as it is implemented, all the dependencies from LT or AtD can be removed.


Popular posts from this blog

Trac Ticket Workflow

Introduction to ReviewBoard

Python vs JS vs PHP for embedded systems