Package org.languagetool.rules.de
package org.languagetool.rules.de
-
ClassDescriptionSimple agreement checker for German noun phrases.Simple agreement checker for German noun phrases.Create suggestions for German noun phrases that lack agreement.Check that adjectives and verbs are not written with an uppercase first letter (except at the start of a sentence) and cases like this: Das laufen fällt mir leicht. (laufen needs to be uppercased).Check consistent spelling for German compounds.Checks the compound spelling of infinitive clause (Erweiterter Infinitiv mit zu)Checks that compounds are not written as separate words.Prüft, dass in Bindestrich-Komposita kein Leerzeichen eingefügt wird (wie z.B.German localization of
AbstractDateCheckFilter
.Coherent use of Du/du, Dich/dich etc.Double punctuation rule with German-specific error message.A rule that gives Hints about the use of German filler words.Helper methods for working with German POS tags.Check if to paragraphs begin with the same word.A rule that checks the readability of German text (using the Flesch-Reading-Ease Formula) If tooEasyTest == true, the rule tests if paragraph level > level (readability is too easy) If tooEasyTest == false, the rule tests if paragraph level < level (readability is too difficult)A rule checks the appearance of same words in a sentence or in two consecutive sentences.ExtendsWordRepeatBeginningRule
by a list of German adverbs ("Konjunktionaladverben") for a more precise error message.Check if a word is repeated twice, taking into account an exception for German where e.g.Specific toKOMMA_ZWISCHEN_HAUPT_UND_NEBENSATZ
- helps setting the comma suggestion, if easily possible.Expand lines according to their suffix, e.g.A rule that warns on long sentences.A rule checks a sentence for a missing comma before or after a relative clause (only for German language)Checks that a sentence contains at least one verb.Deprecated.since 4.4, use GermanSpellerRuleFinds spellings that were only correct in the pre-reform orthography.Find compounds that might be morphologically correct but are still probably wrong, like 'Lehrzeile'.Keep only those matches whose 'year' value is last year or in recent years (up tomaxYearsBack
years ago).Checks that there's whitespace between sentences etc.Search for names similar to ones used before in the same text, as these might be typos.Old to new spelling data and similar formats loaded form CSV.Check subject verb agreement for verb forms "ist", "sind", "war" and "waren".Accepts rule matches when the uppercased word of thetoken
parameter has a noun reading, e.g.Simple agreement checker for German verbs and subject.Check incorrect use of "spiegelt ...German version ofAbstractWordCoherencyRule
.Date filter that expects a 'date' argument in the format 'yyyy-mm-dd'.New year date filter that expects a 'date' argument in the format 'yyyy-mm-dd'.