On Freitag 26 Mai 2006 18:57, Simon Brouwer wrote:

>  It would be great if
> the relevant data for the grammar checker would be easy to generate from
> a list of such word groups.

It's easy to write such rules in LanguageTool. For example, this "of cause" 
rule will complain about 
"of cause" unless it's followed by "and" or "to":

<rule id="OF_CAUSE" name="Typo 'of cause(course)'">
                <pattern mark_to="-1">"of" "cause" ^"(and|to)"</pattern>
                <message>Did you mean <em>of course</em> (=naturally)?</message>
                <example type="correct">The law of cause and effect.</example>
                <example type="correct">Of <em>course</em> all these things are 
relative.</example>
                <example type="incorrect">Of <em>cause</em> all these things 
are relative.</example>
</rule>

If you meant to find those potentially incorrect phrases automatically, that 
doesn't
seem to be trivial.

regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to