Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nl] wrong verb form #7244

Open
ghost opened this issue Oct 11, 2022 · 0 comments
Open

[nl] wrong verb form #7244

ghost opened this issue Oct 11, 2022 · 0 comments
Assignees
Labels
Dutch Especially for Dutch

Comments

@ghost
Copy link

ghost commented Oct 11, 2022

This rule will find a lot of these mistakes. Unfortunately, also quite a bit of falses. I removed what I saw in the rule editor.
For Wikipedia, 'redirect' is seen as a Dutch word with postag ZNW:EKV:DE_; maybe add it to the dic.

<rule id="3EP_VTD_BMHGGDU" name="confusion of bed/bad">

    <antipattern>
        <token>zijn</token>
        <token postag="ZNW.*" postag_regexp="yes"/>
    </antipattern>
    <antipattern>
        <token>zijn</token>
        <token></token>
        <token postag="ZNW.*" postag_regexp="yes"/>
    </antipattern>
    <antipattern>
        <token skip="-1">,</token>
        <token postag="WKW:TGW:3EP"><exception postag_regexp="yes" postag="WKW:VTD:ONV|BNW.*|ZNW.*|BYW|ENM.*"/></token>
    </antipattern>
    <antipattern>
        <token postag="WKW:TGW:3EP"/>
        <token postag="WKW:TGW:3EP"/>
    </antipattern>
    <antipattern>
        <token skip="-1" inflected="yes" regexp="yes">hebben|zijn|worden</token>
        <token regexp="yes">die|dat|het|dit|wat</token>
    </antipattern>
    <antipattern>
        <token postag="VGW" skip="-1"/>
        <token postag="WKW:TGW:3EP"><exception postag_regexp="yes" postag="WKW:VTD:ONV|BNW.*|ZNW.*|BYW|ENM.*"/></token>
    </antipattern>
    <antipattern>
        <token skip="-1" inflected="yes" regexp="yes">hebben|zijn|worden</token>
        <token postag_regexp="yes" postag="WKW:VTD:ONV"/>
    </antipattern>
    <antipattern>
        <token postag_regexp="yes" postag="WKW:VTD:ONV"/>
        <token inflected="yes" regexp="yes">hebben|zijn|worden</token>
    </antipattern>
    <antipattern>
        <token skip="-1" >wat</token>
        <token>betreft</token>
    </antipattern>
    <pattern>
        <token skip="-1" inflected="yes" regexp="yes">hebben|zijn|worden</token>
        <marker>
            <token postag="WKW:TGW:3EP"><exception postag_regexp="yes" postag="BNW.*|ZNW.*|BYW|ENM.*|VRZ"/><exception regexp="yes">niet|kwijt</exception></token>
        </marker>
    </pattern>
    <message>Bedoelt u <suggestion><match no="2" postag="WKW:VTD:ONV"/></suggestion>?</message>
    <example correction="verwijderd">Hij wordt elke keer weer van school <marker>verwijdert</marker> door de conrector.</example>
</rule>
@ghost ghost assigned LanguageTool-AS Oct 11, 2022
@ghost ghost added the Dutch Especially for Dutch label Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dutch Especially for Dutch
Projects
None yet
Development

No branches or pull requests

1 participant