Plural forms with parsetree and search in Dutch
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.9k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the parsetree() and search() entry points for Dutch, then compare their handling of "baan", "stad", and "arbeider" with the pluralize() results described in the issue. Reproduce the examples and determine whether search should match the plural forms consistently; done means the intended Dutch plural-search behavior is covered by verification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100