THanks, I will check it out.

The rule is not functioning very well at all. I commented it out and put
it on the list of items to do.

Ruud

> R.J. Baars <r.j.ba...@xs4all.nl> wrote:
>
>> I discovered that the rule below is not working very well.
>> It look like 'skip' also skips over sentence boundaries.
>>
>> Is that intentional? Or is something else wrong?
>> In case it is intentional, is there an option to forbid that?
>>
>> Ruud
>>
>> <rule id="nr738" name="duur kost">
>> <pattern>
>> <token skip="4">duur</token>
>> <token>kost</token>
>> </pattern>
>> <message>U bedoelt <suggestion>is duur</suggestion> of <suggestion>kost
>> veel</suggestion>.</message>
>> <short>Is duur, kost veel</short>
>> <example type="incorrect">Weet je niet hoe <marker>duur die auto wel
>> niet
>> kost</marker>?</example>
>> <example type="correct">Weet je niet hoe <marker>duur die auto wel niet
>> is</marker>?</example>
>> </rule>
>
>
> Hi Ruud,
>
> You can run with the -v option (for verbose) to see what's
> going on. It should then show each sentence separately, the
> tokenization, the POS tags, the lemma, which unification rules
> match etc.
>
> Skip should not span multiple sentences.
> In my experience, skip="..." with a large numbers (or
> worse with -1) can easily produces false positives.
>
> Regards
> Dominique
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>



------------------------------------------------------------------------------
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to