On 2014-12-12 18:24, Elie Naulleau wrote:

Hi,

additionally to Marcin's reply, I'd like to add one aspect:

> - Is it easly extensible ? (rule templates for new form of error
> recognition, complex syntactic patterns that would require their own
> implementation)

there are basically three levels to write rules:

-Without programming, using the grammar.xml and disambiguation.xml 
files. These offer some power but the files' syntax cannot be extended 
in a modular way.

-If this isn't powerful enough, you can add XML rules in grammar.xml 
that match too many cases and then filter those matches with Java code 
(RuleFilter, see 
http://wiki.languagetool.org/development-overview#toc17)

-If that still isn't powerful enough, you can write your own Java rules. 
There's no restriction on what Java rules can do, you have full access 
to the text and its analysis and you can run your own analysis.

Regards
  Daniel


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to