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

[en] Prevent nonsense disambiguation or give a warning: one token has two actions #5062

Open
MikeUnwalla opened this issue May 22, 2021 · 0 comments

Comments

@MikeUnwalla
Copy link
Contributor

Neither testrules nor Maven gives me a warning about this nonsense disambiguation:

<rule id="POS_ADD_TEST" name="Add a POS">
    <pattern>
        <token>tester</token>
    </pattern>
    <disambig action="add"><wd pos="MYPOS"/><wd pos="MYPOS"/></disambig>
</rule>

Do not permit a rule that has more actions than tokens in the pattern or more actions than tokens in the marked section.

Same problem with or without a marker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant