-
Notifications
You must be signed in to change notification settings - Fork 39
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
Document how to load custom rulesets #82
Comments
nlprule currently is not very easily extensible w.r.t custom rules. To answer (2) you can look at https://github.com/bminixhofer/nlprule/tree/main/build. The binaries are compiled from a directory containing all needed resources. You could add your rules to the |
That's fine in and of itself for now. I more intended this as a request for:
...ideally all together in a single "How to customize the grammar rules" section. |
I agree, this should be improved. To answer (2), I refer to the nlprule binaries as only the .bin files, not the build of the Rust code. But I see now where the confusion is coming from, maybe a different name would be better to refer to the LanguageTool data to avoid confusion. |
You could just call them " |
I have a project where I'd prefer not to reinvent nlprule for applying my custom grammar rules (common validly-spelled typos I see in fanfiction), but the documentation is very unclear on how to do anything with custom rules.
.bin
files?The text was updated successfully, but these errors were encountered: