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

Add support for sorting a dynamic list of adjectives #14

Open
grhoten opened this issue Mar 14, 2024 · 2 comments
Open

Add support for sorting a dynamic list of adjectives #14

grhoten opened this issue Mar 14, 2024 · 2 comments
Labels
discuss Discussion item

Comments

@grhoten
Copy link
Member

grhoten commented Mar 14, 2024

This is mostly an English topic, but it can be helpful in other languages. A more detailed discussion of the issue can be found here: https://en.wikipedia.org/wiki/Adjective#Order

When adding a list of adjectives to a noun, there is typically an order to the adjectives. When they're in the wrong order, the message can be awkward.

For example, in English, you would want to be able to say "old French animated movies" instead of "animated French old movies". There's a lot of other examples, but the point is that there is an implicit order in English. Adding metadata that is similar to what is listed in the Wikipedia article would be sufficient.

@nciric
Copy link
Contributor

nciric commented Mar 18, 2024

So this is a question of providing lexicon info with the adjective?

Is the expectation for our logic to sort adjectives given the lexicon info? I don't see a strong use case for that in the current localization:

  1. Messages are usually created in English, and adjective order is already correct
  2. Translators can fix the order as needed.

Do you envision a case where we drop a number of adjectives into a placeholder/sentence and expect algorithm to sort it?

@grhoten grhoten changed the title Add support for sorting adjectives Add support for sorting a dynamic list of adjectives Dec 10, 2024
@grhoten
Copy link
Member Author

grhoten commented Dec 10, 2024

This is a hard topic, and pull request 35 does not address this topic at this time. Yes, I'm expecting some language specific algorithm to sort it. Your UTW presentation from this year gave an example where there were multiple adjectives in front of a noun. I think it was about spiders. If the list of adjectives is not dynamic, then this concern is not an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Discussion item
Projects
Status: In Progress
Development

No branches or pull requests

2 participants