gector-bert-pt-br / language-rules.json
Imperatore's picture
Portuguese (Brazil) 1.0.0: run 2026-11-13-1728 + guards; gold 416/183/4/0, Tatoeba 0.10%
11bcb88 verified
Raw History Blame Contribute Delete
907 Bytes
{
"version": 1,
"language": "pt",
"_comment": "Per-bundle language facts (see C# LanguageRules / ADR-004). stripTrailingTerminator true: the PT bundle follows the same BERT/WordPiece recipe as Italian — validate at eval. clauseConjunctions: connectors after a comma = independent-clause boundary for GectorAnalyzer.Correct's clause split (see the EN/IT files). 'além' is the single-token head of 'além disso'; multi-word connectors (no entanto, por isso) can't be matched by the single-word splitter and are deliberately absent. Validate against lang/pt/gold comma_context at eval (gold suite pending — created ahead of the PT model so the bundle export picks it up).",
"stripTrailingTerminator": true,
"clauseConjunctions": ["mas", "e", "ou", "porém", "pois", "porque", "então", "portanto", "contudo", "todavia", "entretanto", "senão", "logo", "depois", "além", "enquanto", "embora"]
}