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

missing decompositions #6

Open
danielnaber opened this issue Apr 18, 2015 · 1 comment
Open

missing decompositions #6

danielnaber opened this issue Apr 18, 2015 · 1 comment

Comments

@danielnaber
Copy link
Owner

Some compounds will not be decomposed as the algorithm searches the longest match and the Morphy/LanguageTool-based dictionary contains compounds. Examples:

Einkommensempfängerin
Wehrmachtsamt
Schwingflügel

Solution: remove compounds from test-de-large.txt, or don't export them in org.languagetool.dev.ExportGermanNouns.

Actually, for the LanguageTool use case this isn't a problem, as we're only interested in grammar information and as long as that's available (compound or not) we're fine.

@f-knorr
Copy link

f-knorr commented Feb 18, 2017

Actually, for the LanguageTool use case this isn't a problem, as we're only interested in grammar information and as long as that's available (compound or not) we're fine.

Not exactly! GERMAN_SPELLER_RULE in LanguageTool marks some words in enumerations as wrong as the last word in the enumeration is not recognized as a compound. Example:
"Hieb- und Stichwaffe" -> "Hieb-" is marked as incorrect as the dictionary contains "Stichwaffe" in addition to "Waffe"

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

2 participants