unicode-org / inflection

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

Standardize support for inflection across ICU APIs #23

Open richgillam opened 3 months ago

richgillam commented 3 months ago

ICU has APIs to vend a lot of different strings that might end up being put into the middle of a sentence and needing to be inflected for the context. Examples include:

In addition to grammatical inflection, we might also need to care about capitalization and punctuation (e.g., "Your pizza will be ready in 3 min.." if the abbreviation is handled naively).

Support for inflection in the different APIs involved varies widely and isn't expressed in the same way everywhere it is supported. We need to support the same feature set across all relevant parts of API and standardize on one way of expressing these concepts in the API.