German parsetree lemmatising wrong?
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- machine-learning
Research direction
Start with the supplied Python reproduction using pattern.de.parsetree and lemmata=True, then trace the German lemmatisation path responsible for the output. Confirm the expected lemmas for “betrogenen” and “Briten” and add or update coverage so the example produces “betrogen” and “brite”.
Written by the indexing model from the issue text.
Description
Hi,
We are using Pattern 2.6 and we ran some quick tests regarding German lemmatising. Our goal is to get all lemmas of a German string.
The following code snippet lemmatises a German string and reproduces a particular example issue:
from pattern.de import parsetree
s=parsetree('Der betrogenen Briten', lemmata = True)
print s
yields the following output
[Sentence('Der/DT/B-NP/O/der betrogenen/NN/I-NP/O/betrogenen Briten/NN/I-NP/O/briten')]
However, betrogenen should be lemmatised into betrogen and Briten into brite instead. Are we overlooking something? Should we send our issue to someone in particular?
Thank you very much!
Best, Josef
- Dominant language
- Python
- Stars
- 8.9k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from clips/pattern
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
letsencrypt/cp-cps#353 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
PedestrianDynamics/pyFDS-Evac#394 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
DOI-USGS/pywatershed#421 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
python-pillow/Pillow#10087 · 1 comment ·
Maintainers usually reply within 1 day