Talk:Z11589
Appearance
Latest comment: 1 year ago by VIGNERON in topic Implementation
Implementation
Hi y'all,
The implementation should be something along this line:
- check the gender and number of the adjective
- convert to feminine singular (or keep it if it already is)
- add "ment" at the end
- deal with exceptions
Some exception and potential troubles:
- adjectives ending in -ant(e)/-ent(e) make adverbs ending in « -amment » and « -emment » (respectively), eg. brillant → brillamment, patient → patiemment
- if feminine form of the adjective ends with a vowel, discard the vowel: joli → joliement
- some adjective are more irregular than other, should we build the feminine and/or look into lexemes (French masculine adjective to feminine (Z11590) still has some problem but in the other hand, most adjectives don't have a lexeme yet)
- probably other exceptions I'm forgetting right now
- maybe simplify the algorithm for adjectives with the same form in masculine and feminine (to need to convert "faible" masucline to "faible" feminine)
- should it be in pre-1990 or post-1900 orthography? (or both? in the same function or in two?)
Cheers, VIGNERON (talk) 18:00, 23 November 2024 (UTC)