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] tussen handel: unseen #7171

Open
ghost opened this issue Oct 5, 2022 · 1 comment
Open

[nl] tussen handel: unseen #7171

ghost opened this issue Oct 5, 2022 · 1 comment
Labels
Dutch Especially for Dutch

Comments

@ghost
Copy link

ghost commented Oct 5, 2022

Tussenhandel is a valid word, but tussen handel is not detected as mistake.
Since there are many words starting with tussen, a general rule would be best.

@ghost ghost added the Dutch Especially for Dutch label Oct 5, 2022
@ghost ghost self-assigned this Oct 5, 2022
@ghost
Copy link
Author

ghost commented Oct 7, 2022

This might do, but it needs a filter to discard anything not in dictionary.

<rule id="CONFUSION_OF_BED_BAD" name="confusion of bed/bad">
    <pattern>
        <token><exception postag_regexp="yes" postag="ZNW.*|SENT_START"/></token>
        <marker>
            <token>tussen</token>
            <token postag="ZNW.*" postag_regexp="yes"><exception postag_regexp="yes" postag="GET.*"/><exception>haakjes</exception></token>
        </marker>
        <token><exception>en</exception></token>
    </pattern>
    <message>Staat hier misschien een spatie te veel?</message>
    <suggestion>\2\3</suggestion>
    <example correction="tussenhandel">De <marker>tussen handel</marker> bloeit.</example>
</rule>

@ghost ghost removed their assignment Oct 7, 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

0 participants