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

LT to enumerate all rules #1749

Open
ghost opened this issue Jul 24, 2019 · 3 comments
Open

LT to enumerate all rules #1749

ghost opened this issue Jul 24, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 24, 2019

It would be great if LT could enumerate all rule_id's for a language. It would make it easier to test every rule separately.
It is easy to get all rules from the XML; harder to get them from the collected java.

@ghost ghost added the enhancement label Jul 24, 2019
@danielnaber
Copy link
Member

Running each rule separately will mean a lot of overhead, as sentence splitting and POS tagging will need to run each time. So it's more efficient to run all rules and then extract the rule matches one is interested in.

@ghost
Copy link
Author

ghost commented Jul 24, 2019

I understand the overhead. But it is easier to have the previous for just one rule, and run only that rule and compare the output with the previous version for only that rule.
The formats of text output as well as Json output are quite inconvenient to handle if you are not a Java guy.

@ghost
Copy link
Author

ghost commented Aug 30, 2019

Anyway, most tools are able to enumerate what is in it.

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