Back to LanguageTool Homepage - Privacy - Imprint

Automatic matching of case

(Ruud Baars) #1

The rule below triggers correctly at Veelal (here markes with brackets). The message suggests "vaak", without the uppercase first letter.
I thought the wiki states: "Note: LT automatically adjusts the case of suggestions if they are added as plain text. "
But it does not do that here. Nor in the UI. Is there an option to do this?

....f geen recht op studiefinanciering had. [Veelal] in situaties waarin sprake is van een e...
De tekst wordt vlotter als je de tekst herschrijft met "vaak".

<rule id="VEELAL" name="veelal">
	De tekst wordt vlotter als je de tekst herschrijft met <suggestion>vaak</suggestion>.
<example correction="vaak">A <marker>veelal</marker> B.</example>
<example>A <marker>vaak</marker>.</example>

(Daniel Naber) #2

That simply means the suggestion will automatically have an uppercase first character if it's at the start of a sentence. If you're using <match>, you can uppercase as documented in (search for startupper in that page). With static suggestions, you have to use <suggestion>Vaak</suggestion> if you want the suggestion to be uppercase not just at sentence start.

(Ruud Baars) #3

In the example it is at sentence start. But maybe it is not detected as such. I will have to take a look into that.