Hi,
I noticed a problem with the behaviour for the word 'schulen' in German (as a noun vs as a verb) when using all capitals:
>>> simplemma.lemmatize("Schulen", "de")
'Schule' # plural form lemmatized as noun "Schule"
>>> simplemma.lemmatize("schulen", "de")
'schulen' # infinitive form lemmatized as verb "schulen"
The all-caps version appears to result in a match with the lowercase :
>>> simplemma.lemmatize("SCHULEN", "de")
'schulen'
Of course, it is impossible to know which version to prefer in the case.
I noticed that some of the words in the dictionaries contain more than one lemma.
for example
>>> simplemma.lemmatize("Sie", "de")
'Sie|sie'
Why are there words with multiple lemmas in the dictionaries?
Should we consider adding this on simplemma side? I mean changing the strategies so they can have multiple matches and return them somehow.
Wdyt?
Hi,
I noticed a problem with the behaviour for the word 'schulen' in German (as a noun vs as a verb) when using all capitals:
The all-caps version appears to result in a match with the lowercase :
Of course, it is impossible to know which version to prefer in the case.
I noticed that some of the words in the dictionaries contain more than one lemma.
for example
Why are there words with multiple lemmas in the dictionaries?
Should we consider adding this on simplemma side? I mean changing the strategies so they can have multiple matches and return them somehow.
Wdyt?