semanticRules top-level constant

List<Rule> const semanticRules

Semantic rules (M8). Order shapes report grouping when two rules hit the same entry — structural-first, then semantic, so the user sees "your placeholder is broken" before "your translation looks untranslated."

Implementation

const List<Rule> semanticRules = <Rule>[
  SourceEqualityRule(),
  LengthRatioRule(),
  UntranslatedEnglishRule(),
  GlossaryRule(),
];