On 2013-08-20 09:19, Daniel Naber wrote:

>> we have min and max attributes now. Quoting the change log:
> 
> Oh well, I see it's still buggy. Don't waste your time trying it, I
> will now try to fix it.

The source code for this is quite complicated, but it should work now:

<token skip="2">foo</token>

can now be written as:

<token>foo</token>
<token min="0" max="2"/>

I think this is better readable. Also a token can be made optional:
<token min="0">foo</token> - max does not need to be specified, it's 1 
by default.

'skip' still exists of course, but I don't know if it properly works 
together with min/max.

I had to change the way we find the 'marker' position, a few Polish 
example sentences needed to be adapted. Marcin, can you see if I broke 
the marker? I fixed it so the tests work again.

Regards
  Daniel

-- 
http://www.danielnaber.de

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to