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

German parsetree lemmatising wrong? #153

Open
JosefWeinbub opened this issue Jul 4, 2016 · 0 comments
Open

German parsetree lemmatising wrong? #153

JosefWeinbub opened this issue Jul 4, 2016 · 0 comments

Comments

@JosefWeinbub
Copy link

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

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