unicode-org / inflection

code, data and documentation related to handling inflection problems
Other
0 stars 1 forks source link

Support inflection of adpositions, prepositions and particles #17

Open grhoten opened 4 months ago

grhoten commented 4 months ago

We should be able to inflect prepositions. These words can include "on", "in", "of" and other English equivalents. French, Spanish, Italian, Portuguese, Russian and other languages have prepositions that vary depending on the noun being referenced.

For example, in French, I can use "d’" or "de" depending on whether the next word starts with a vowel or a consonant.

For a language like Korean, it's whether the the previous word ends with a vowel, consonant or rieul. For example, "house" ends with a consonant instead of a vowel.

For some languages, prepositions can combine with definite articles. For example, Spanish has "del", "de la", "de los" and "de las". French has another example with "au ", "à la ", "à l’" and "aux ".