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

[FR] Handling similar plurals and proper nouns #663

Closed
BoboTiG opened this issue Feb 2, 2021 · 2 comments · Fixed by #1102
Closed

[FR] Handling similar plurals and proper nouns #663

BoboTiG opened this issue Feb 2, 2021 · 2 comments · Fixed by #1102
Assignees

Comments

@BoboTiG
Copy link
Owner

BoboTiG commented Feb 2, 2021

When selecting the word "combes" on the Kobo, the word printed will be https://fr.wiktionary.org/wiki/Combes and we loose the redirection to its singluar form https://fr.wiktionary.org/wiki/combe.

Maybe finding a way to display both would be ideal.

@lasconic
Copy link
Collaborator

lasconic commented Feb 3, 2021

The only way I see is to store "combes" as a word, with the definition of combes. Looking for "combes" will then display "Combes" and "combes".
So something similar that what we do with "pure verb form".

Simplified algo:
1/ Do no ignore "pluriel d" definition
2/ if a word only has one definition and it starts with "pluriel d", check if the same word with different case exists. If it doesn't just keep on and ignore this word. If it does, see 3
3/ Store this word with the definitions and etymology of the word after "pluried d"

Note: when the plural is also a verb form, we already handle it ? See #208

@BoboTiG
Copy link
Owner Author

BoboTiG commented Nov 20, 2021

I think more templates could be handled, see https://fr.wiktionary.org/wiki/Cat%C3%A9gorie:Mod%C3%A8les_d%E2%80%99accord_en_fran%C3%A7ais. But for now, 125e22d is a good start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants