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

Plural forms with parsetree and search in Dutch #289

Open
hekl opened this issue Oct 23, 2019 · 0 comments
Open

Plural forms with parsetree and search in Dutch #289

hekl opened this issue Oct 23, 2019 · 0 comments

Comments

@hekl
Copy link

hekl commented Oct 23, 2019

I am using parsetree(text, lemmata=True) (pattern.nl) and search(searchterm, text) for Dutch.
Like: search: "baan" in "Het aantal banen in Noord-Holland neemt toe."
This has the advantage of constructing a lemma and also searching for a plural form of the search term. But not in all cases. "Stad" as a search term also searches for "steden". But "baan" does not search for "banen", "arbeider" does not search for "arbeiders".
Is there a logic to this? The pluralize function gives the correct plural forms.

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