Add multilingual audit CI pipeline + extract mandelblog_content_guard
This commit is contained in:
20
mandelblog_content_guard/agents/nl.py
Normal file
20
mandelblog_content_guard/agents/nl.py
Normal file
@@ -0,0 +1,20 @@
|
||||
from .base import BaseLanguageAgent
|
||||
from ..normalizers import normalize_nl_text
|
||||
|
||||
|
||||
class DutchAgent(BaseLanguageAgent):
|
||||
locale = "nl"
|
||||
tone = "zakelijk en duidelijk"
|
||||
preferred_formality = "je/jij professioneel"
|
||||
cta_defaults = {
|
||||
"starter": "Plan startergesprek",
|
||||
"business": "Plan zakelijk gesprek",
|
||||
"support": "Bekijk support",
|
||||
"service": "Bekijk diensten",
|
||||
"project": "Start jouw project",
|
||||
"contact": "Plan kennismaking",
|
||||
"offerte": "Vraag voorstel aan",
|
||||
}
|
||||
|
||||
def post_cleanup_text(self, text: str, field_path: str = "") -> str:
|
||||
return normalize_nl_text(text, field_path=field_path)
|
||||
Reference in New Issue
Block a user