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

Retrieve parts from compound words #108

Open
karlb opened this issue May 2, 2021 · 0 comments
Open

Retrieve parts from compound words #108

karlb opened this issue May 2, 2021 · 0 comments

Comments

@karlb
Copy link

karlb commented May 2, 2021

Change/feature request

The nuspell/hunspell dictionaries contain useful information to understand how compound words can be built for a language. For use cases outside of spelling correction (e.g. translation), it would be great to make use of this to get the words that make up a compound word.

Example (de_DE):
split_compound("Hausherr") -> ["Haus", "Herr"]

Is there a way to do this with nuspell? If not, would it make sense to add such a function or is this considered to be out of scope?

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