Hey, I was thinking about it a bit more as this UI clutter is indeed a problem. Also probably not all features that AI provide are easily integrated into the UI without clutter.
I think the grammar comments generally fit into two groups (based in the example above):
- Break down of individual words/group of words depending in the language. It would be useful for me if individual elements of the original text (not a linguist, but I guess it could be either words of group of words depending on the language) gets underlined and when clicked a pop up with explanation appears. The explanation will need to list at least the word present form infinitive, the gender (if any) and the case used, maybe some information about how this case is formed from the infinitive.
For the original example this is how AI separates "Szeretem a j贸 bort." into relevant parts: "Szeretem - 1st person singular present definite conjugation of "szeret" (to love). The definite conjugation (-em ending) is used because the direct object ("wine") is specific (with the definite article "a").", "a = definite article", "贸 = adjective "good" (nominative form, unchanged)", "bort = accusative form of "bor" (wine). The "-t" suffix marks the direct object.". All those can go into individual popups for specific parts.
- General information about the sentence. E.g. the translation, word order used, is it a question or not, etc. This is sentence level related, so harder to fit. One of the idea is maybe to have some pictogram (a bulb maybe) appear after a sentence with grammar explanation about the sentence when clicked.
In the example this would be "Translation: I love good wine, word order: Subject (implied "茅n") + Verb + Object.".
If all this is only enabled when some button "explain grammar" is toggled below the clutter is minimized as nothing is enabled till enabled. And once enabled it only provides highlights and additional information is available only when specific highlight marker is clicked for specific element (which also possibly reduces server/LLM load).