On 2013-11-19 22:47, Andriy Rysin wrote:

> So I was going to take a shot at doing this in Jave (and I guess along
> the way I'll see if it makes sense follow similar pattern for 1 and
> 2). But before I started I wanted to double check that there's no
> good/common/existing way of doing things like that.

We're using Java for checking agreement in German (AgreementRule.java). 
What makes the code quite complex is that detection of noun phrases and 
the checks are mixed in one class. If I started from scratch today, I 
would first implement a Chunker (see the new Chunker interface) that 
finds the chunks that require agreement, and then implement a rule that 
iterates over these chunks and does the checking.

Regards
  Daniel

-- 
http://www.danielnaber.de


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to