Back to LanguageTool Homepage - Privacy - Imprint

Tags in spelling.txt

(Daniel Naber) #1

I have made a small change so that # comments can now be used at the end of a line in de/spelling.txt. This can be used to set tags, e.g. for colloquial words or words from English. For a few items, I have done that, e.g.:

ächz #ugs

While this is not used yet, I suggest we start adding tags for new words now, as this information can be very useful later. For example, users might not want to have colloquial words in their dictionary.

(Ruud Baars) #2

Is there a way to set LT for warning for colloqialisms? Those are commonly undesired in formal texts.
Maybe separate rough styles, like government/formal, newspaper/books, scientific, informal?

(Daniel Naber) #3

You could write a rule. Currently, I don’t think there’s another way. spelling.txt only extends the hunspell dictionary, so filtering colloquial terms from spelling.txt would only filter out a fraction of those terms.

(Ruud Baars) #4

That is what I do. But the difference in word sets is enormous. In time, I might have a good look at it.