# Protected Values

Part of the HebrewCore documentation. Web: https://hc.itsbaba.com/docs#protection · Whole docs: https://hc.itsbaba.com/docs.md · Index: https://hc.itsbaba.com/llms.txt

Some text must never change in translation: prices and currency, quantities, dates, order and account numbers, product and brand names, codes, interface variables, and in regulated fields doses, units and lab values. HebrewCore finds these values, replaces each with a placeholder the model cannot alter, and restores the original afterwards. It then checks every sentence: each protected value and every number must come back unchanged, and negation, left/right and grammatical gender must match. A sentence that cannot be verified is returned in its source language, flagged, rather than translated wrongly. Each [domain](https://hc.itsbaba.com/docs#domains) adds its own values and checks.

| Protected automatically | Examples |
| --- | --- |
| Numbers, amounts and signs | `$129.99`, `₪149.90`, `10–20%`, `<5`, `2 ×` |
| Dates and times | `04/03/2026` (rewritten so it cannot be misread), `08:30` |
| Identifiers and contact details | order and account numbers, emails, phone numbers, URLs |
| Interface markup | `{name}`, `{{count}}`, `%s`, `<keep>…</keep>` |
| Your terms | [Account terms](https://hc.itsbaba.com/docs#terms), plus `protected_terms` and `glossary` entries on the request: product names, brand names, drug names, legal terms |
| Financial values, with `domain: "finance"` | IBANs, SWIFT/BIC, bank account and card numbers, Israeli ID numbers, invoice and policy numbers, rates and basis points |
| Legal references, with `domain: "legal"` | clause and section references, defined terms, statute and case citations |
| Clinical terms, with `domain: "clinical"` | drug names, doses, units, lab values, clinical codes and abbreviations |
