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

Performance for German? #89

Open
izaskr opened this issue Mar 26, 2024 · 0 comments
Open

Performance for German? #89

izaskr opened this issue Mar 26, 2024 · 0 comments

Comments

@izaskr
Copy link

izaskr commented Mar 26, 2024

Hi,
I want to use this tool to detect and correct grammatical mistakes in German.

from nlprule import Tokenizer, Rules
tokenizer = Tokenizer.load("de")
rules = Rules.load("de", tokenizer)

t1 = "Ich habe eine Hund."
rules.correct(t1) 

This returns the string without any corrections (but it should,ideally, change "eine" to "einen").

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

No branches or pull requests

1 participant