Nudin / LexData

Python bot framework for Lexemes on Wikidata
https://nudin.github.io/LexData/
MIT License
18 stars 5 forks source link

Confusing forms and lexemes when getting lexemes #2

Closed Uziel302 closed 4 years ago

Uziel302 commented 4 years ago

If there is no lexeme movies, but there is movie with the form movies, "get_or_create_lexeme" will get you the lexeme movie, so if you want to update sense "cinema" it will be wrong. I had about 300 lexemes mixed up due to this issue, while running a bot.

Nudin commented 4 years ago

Do I understand you correctly: you were expecting that "get_or_create_lexeme" should also search for an lexeme that has an form with the given string?

Uziel302 commented 4 years ago

The opposite, it currently gives me a wrong lexeme when the string I search is one of the forms.

Nudin commented 4 years ago

Thanks for reporting! This is fixed now.