Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

3.1 KB
Raw Blame
{
  "language": "pt-BR",
  "category": "structural",
  "rules": [
    {
      "name": "pt_purpose",
      "pattern": "\\b(?:a fim de|com o objetivo de|para poder|com a finalidade de|com o intuito de)\\b\\s*",
      "replacement": "para ",
      "context": "all",
      "category": "structural",
      "minIntensity": "lite",
      "description": "Verbose purpose connectors → 'para'"
    },
    {
      "name": "pt_connectors",
      "pattern": "(?<![\\p{L}\\p{N}_])(?:alem disso|além disso|adicionalmente|outrossim|não obstante|por outro lado)(?![\\p{L}\\p{N}_])[,]?\\s*",
      "replacement": "também ",
      "context": "all",
      "category": "structural",
      "minIntensity": "lite",
      "description": "Verbose additive connectors",
      "flags": "giu"
    },
    {
      "name": "pt_emphasis",
      "pattern": "(?<![\\p{L}\\p{N}_])(?:muito|realmente|extremamente|bastante|totalmente|completamente|absolutamente)\\s+(?=[a-záéíóúâêôãõç])",
      "replacement": "",
      "context": "all",
      "category": "structural",
      "minIntensity": "lite",
      "description": "Intensity adverbs before adjectives — rarely add precision",
      "flags": "giu"
    },
    {
      "name": "pt_passive_voice",
      "pattern": "(?<![\\p{L}\\p{N}_])(?:é necessário que|é preciso que|é importante que|é fundamental que|é essencial que)(?![\\p{L}\\p{N}_])\\s*",
      "replacement": "Deve ",
      "context": "all",
      "category": "structural",
      "minIntensity": "full",
      "description": "Impersonal passive constructions → direct imperative",
      "flags": "giu"
    },
    {
      "name": "pt_causality_verbose",
      "pattern": "(?<![\\p{L}\\p{N}_])(?:isso acontece porque|isso ocorre porque|isso se deve ao fato de que|a causa disso é que)(?![\\p{L}\\p{N}_])\\s*",
      "replacement": "Causa: ",
      "context": "assistant",
      "category": "structural",
      "minIntensity": "full",
      "description": "Verbose causality explanation → diagnostic label",
      "flags": "giu"
    },
    {
      "name": "pt_consequence",
      "pattern": "(?<![\\p{L}\\p{N}_])(?:como consequência|como resultado|por conta disso|em decorrência disso|por causa disso)(?![\\p{L}\\p{N}_])[,]?\\s*",
      "replacement": "→ ",
      "context": "all",
      "category": "structural",
      "minIntensity": "full",
      "description": "Consequence connectors → arrow notation (troglodita style)",
      "flags": "giu"
    },
    {
      "name": "pt_comparison_verbose",
      "pattern": "(?<![\\p{L}\\p{N}_])(?:em comparação com|quando comparado com|se compararmos com|diferente de)(?![\\p{L}\\p{N}_])\\s*",
      "replacement": "vs ",
      "context": "all",
      "category": "structural",
      "minIntensity": "full",
      "description": "Verbose comparisons → compact 'vs'",
      "flags": "giu"
    },
    {
      "name": "pt_conclusion",
      "pattern": "\\b(?:sendo assim|portanto|dessa forma|desse modo|consequentemente|em suma|resumindo)\\b[,]?\\s*",
      "replacement": "∴ ",
      "context": "all",
      "category": "structural",
      "minIntensity": "full",
      "description": "Conclusion connectors → therefore symbol"
    }
  ]
}