b84827ecea
- New: transcribe-about.php, transcribe-guide.php, transcribe-tech.php with full en/no/uk/pl translations (3-engine cascade, diarization, vocab) - New: translations/transcribe-about|guide|tech.php (4-lang strings) - New: scripts/translate-pages.php (Azure gpt-4o CLI translation helper) - Add korr-doc-links nav to transcribe.php - Refresh redact-about|guide|tech.php — point to assets/images/redact/ - Fix all "never written to disk" wording in redact translations - Add Min Sak/corpus save workflow to redact guide and tech privacy section - redact.php upload hint: correct in-memory wording Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
238 lines
12 KiB
PHP
238 lines
12 KiB
PHP
<?php
|
|
declare(strict_types=1);
|
|
require_once __DIR__ . '/includes/bootstrap.php';
|
|
|
|
$uiLang = dbnToolsCurrentLanguage();
|
|
$isAuthed = dbnToolsIsAuthenticated();
|
|
$langPath = '/redact-about.php';
|
|
$toolsLogin = 'https://dobetternorge.no/tools-login.php?return=' . urlencode('/redact.php');
|
|
$registerUrl = 'https://dobetternorge.no/register.php';
|
|
$ctaUrl = $isAuthed ? '/redact.php' : $toolsLogin;
|
|
|
|
$_pt = require __DIR__ . '/translations/redact-about.php';
|
|
$t = $_pt[$uiLang] ?? $_pt['en'];
|
|
?>
|
|
<!doctype html>
|
|
<html lang="<?= htmlspecialchars($uiLang) ?>">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Redact — Remove names and protect identities in Norwegian legal documents · Do Better Norge Tools</title>
|
|
<meta name="description" content="Redact replaces names, organisations, addresses, and ID numbers in Norwegian case notes and court decisions with contextual role tags, generic labels, or pseudonyms. Download as Word.">
|
|
<meta name="robots" content="index, follow">
|
|
<link rel="canonical" href="https://tools.dobetternorge.no/redact-about.php">
|
|
<meta property="og:title" content="Redact — AI anonymisation for Norwegian legal documents">
|
|
<meta property="og:description" content="Two-pass redaction: deterministic regex patterns + GPT-4o sweep. Contextual role tags, regional rule sets, Word export.">
|
|
<meta property="og:type" content="website">
|
|
<meta name="theme-color" content="#00205B">
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap">
|
|
<link rel="stylesheet" href="assets/css/tools.css">
|
|
<link rel="stylesheet" href="assets/css/dbn-tools-redesign.css">
|
|
</head>
|
|
<body class="kdoc-page">
|
|
|
|
<header class="lt-nav">
|
|
<a href="https://dobetternorge.no" class="lt-nav__brand">
|
|
<picture>
|
|
<source srcset="assets/images/logo-header.webp" type="image/webp">
|
|
<img class="lt-nav__logo" src="assets/images/logo-header.png" alt="Do Better Norge" width="140" height="36" loading="eager">
|
|
</picture>
|
|
<span class="lt-nav__badge">Legal Tools</span>
|
|
</a>
|
|
<div class="lt-nav__right">
|
|
<nav class="shell-lang-switcher" aria-label="Language">
|
|
<?php foreach (dbnToolsSupportedLanguages() as $langCode): ?>
|
|
<a href="<?= htmlspecialchars($langPath . '?lang=' . $langCode) ?>" class="<?= $langCode === $uiLang ? 'is-active' : '' ?>"><?= htmlspecialchars(dbnToolsLanguageLabel($langCode)) ?></a>
|
|
<?php endforeach; ?>
|
|
</nav>
|
|
<?php if ($isAuthed): ?>
|
|
<a href="/redact.php" class="lt-nav__cta lt-nav__cta--enter"><?= htmlspecialchars($t['nav_open']) ?></a>
|
|
<?php else: ?>
|
|
<a href="<?= htmlspecialchars($toolsLogin) ?>" class="lt-nav__cta"><?= htmlspecialchars($t['nav_signin']) ?></a>
|
|
<?php endif; ?>
|
|
</div>
|
|
</header>
|
|
|
|
<nav class="kdoc-doc-nav" aria-label="Redact documentation">
|
|
<div class="kdoc-doc-nav__inner">
|
|
<a href="/redact-about.php" class="is-active"><?= htmlspecialchars($t['nav_about']) ?></a>
|
|
<a href="/redact-guide.php"><?= htmlspecialchars($t['nav_guide']) ?></a>
|
|
<a href="/redact-tech.php"><?= htmlspecialchars($t['nav_howit']) ?></a>
|
|
<?php if ($isAuthed): ?>
|
|
<a href="/redact.php"><?= htmlspecialchars($t['nav_opentool']) ?></a>
|
|
<?php endif; ?>
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- Hero -->
|
|
<section class="kdoc-hero" style="background: linear-gradient(rgba(0,20,60,0.82),rgba(0,20,60,0.88)), url('assets/images/redact/hero-marketing.png') center/cover no-repeat;">
|
|
<div class="kdoc-hero__inner">
|
|
<p class="kdoc-hero__kicker"><?= htmlspecialchars($t['hero_kicker']) ?></p>
|
|
<h1 class="kdoc-hero__title"><?= htmlspecialchars($t['hero_title']) ?></h1>
|
|
<p class="kdoc-hero__sub"><?= htmlspecialchars($t['hero_sub']) ?></p>
|
|
|
|
<div class="kdoc-hero__stats">
|
|
<div class="kdoc-hero__stat">
|
|
<strong>2</strong>
|
|
<span><?= htmlspecialchars($t['stat_engines']) ?></span>
|
|
</div>
|
|
<div class="kdoc-hero__stat">
|
|
<strong>4</strong>
|
|
<span><?= htmlspecialchars($t['stat_regions']) ?></span>
|
|
</div>
|
|
<div class="kdoc-hero__stat">
|
|
<strong>3</strong>
|
|
<span><?= htmlspecialchars($t['stat_formats']) ?></span>
|
|
</div>
|
|
<div class="kdoc-hero__stat">
|
|
<strong>2</strong>
|
|
<span><?= htmlspecialchars($t['stat_passes']) ?></span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="kdoc-hero__ctas">
|
|
<a href="<?= htmlspecialchars($ctaUrl) ?>" class="kdoc-btn-primary"><?= htmlspecialchars($t['btn_try']) ?></a>
|
|
<a href="/redact-guide.php" class="kdoc-btn-secondary"><?= htmlspecialchars($t['btn_guide']) ?></a>
|
|
<a href="/redact-tech.php" class="kdoc-btn-secondary"><?= htmlspecialchars($t['btn_howit']) ?></a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- What you get -->
|
|
<section class="kdoc-section--alt">
|
|
<div class="kdoc-section">
|
|
<p class="kdoc-section__eyebrow"><?= htmlspecialchars($t['what_eyebrow']) ?></p>
|
|
<h2 class="kdoc-section__title"><?= htmlspecialchars($t['what_title']) ?></h2>
|
|
<div class="kdoc-features">
|
|
<div class="kdoc-feature-card">
|
|
<span class="kdoc-feature-card__icon">🔒</span>
|
|
<h3 class="kdoc-feature-card__title"><?= htmlspecialchars($t['f1_title']) ?></h3>
|
|
<p class="kdoc-feature-card__body"><?= $t['f1_body_html'] ?></p>
|
|
</div>
|
|
<div class="kdoc-feature-card">
|
|
<span class="kdoc-feature-card__icon">🏷</span>
|
|
<h3 class="kdoc-feature-card__title"><?= htmlspecialchars($t['f2_title']) ?></h3>
|
|
<p class="kdoc-feature-card__body"><?= htmlspecialchars($t['f2_body']) ?></p>
|
|
</div>
|
|
<div class="kdoc-feature-card">
|
|
<span class="kdoc-feature-card__icon">📄</span>
|
|
<h3 class="kdoc-feature-card__title"><?= htmlspecialchars($t['f3_title']) ?></h3>
|
|
<p class="kdoc-feature-card__body"><?= htmlspecialchars($t['f3_body']) ?></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- How it works (3-step) -->
|
|
<div class="kdoc-section">
|
|
<p class="kdoc-section__eyebrow"><?= htmlspecialchars($t['how_eyebrow']) ?></p>
|
|
<h2 class="kdoc-section__title"><?= htmlspecialchars($t['how_title']) ?></h2>
|
|
<p class="kdoc-section__sub"><?= htmlspecialchars($t['how_sub']) ?></p>
|
|
|
|
<div class="kdoc-steps">
|
|
<div class="kdoc-step-card">
|
|
<span class="kdoc-step-card__num">1</span>
|
|
<h3 class="kdoc-step-card__title"><?= htmlspecialchars($t['s1_title']) ?></h3>
|
|
<p class="kdoc-step-card__body"><?= htmlspecialchars($t['s1_body']) ?></p>
|
|
<p class="kdoc-step-card__example"><?= htmlspecialchars($t['s1_example']) ?></p>
|
|
</div>
|
|
<span class="kdoc-step-arrow" aria-hidden="true">→</span>
|
|
<div class="kdoc-step-card">
|
|
<span class="kdoc-step-card__num">2</span>
|
|
<h3 class="kdoc-step-card__title"><?= htmlspecialchars($t['s2_title']) ?></h3>
|
|
<p class="kdoc-step-card__body"><?= htmlspecialchars($t['s2_body']) ?></p>
|
|
<p class="kdoc-step-card__example"><?= htmlspecialchars($t['s2_example']) ?></p>
|
|
</div>
|
|
<span class="kdoc-step-arrow" aria-hidden="true">→</span>
|
|
<div class="kdoc-step-card">
|
|
<span class="kdoc-step-card__num">3</span>
|
|
<h3 class="kdoc-step-card__title"><?= htmlspecialchars($t['s3_title']) ?></h3>
|
|
<p class="kdoc-step-card__body"><?= htmlspecialchars($t['s3_body']) ?></p>
|
|
<p class="kdoc-step-card__example"><?= htmlspecialchars($t['s3_example']) ?></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Output formats spotlight -->
|
|
<section class="kdoc-section--alt">
|
|
<div class="kdoc-section">
|
|
<p class="kdoc-section__eyebrow"><?= htmlspecialchars($t['output_eyebrow']) ?></p>
|
|
<h2 class="kdoc-section__title"><?= htmlspecialchars($t['output_title']) ?></h2>
|
|
<div class="kdoc-llm-spotlight">
|
|
<div>
|
|
<span class="kdoc-llm-spotlight__badge"><?= htmlspecialchars($t['output_badge']) ?></span>
|
|
<h3 class="kdoc-llm-spotlight__title"><?= htmlspecialchars($t['output_h1']) ?></h3>
|
|
<p class="kdoc-llm-spotlight__body"><?= $t['output_body_html'] ?></p>
|
|
</div>
|
|
<div class="kdoc-llm-stats">
|
|
<div class="kdoc-llm-stat">
|
|
<strong>[FATHER]</strong>
|
|
<span><?= htmlspecialchars($t['output_s1']) ?></span>
|
|
</div>
|
|
<div class="kdoc-llm-stat">
|
|
<strong>[PERSON]</strong>
|
|
<span><?= htmlspecialchars($t['output_s2']) ?></span>
|
|
</div>
|
|
<div class="kdoc-llm-stat">
|
|
<strong>Ola N.</strong>
|
|
<span><?= htmlspecialchars($t['output_s3']) ?></span>
|
|
</div>
|
|
<div class="kdoc-llm-stat">
|
|
<strong>3</strong>
|
|
<span><?= htmlspecialchars($t['output_s4']) ?></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Regional rule sets showcase -->
|
|
<div class="kdoc-section">
|
|
<p class="kdoc-section__eyebrow"><?= htmlspecialchars($t['region_eyebrow']) ?></p>
|
|
<h2 class="kdoc-section__title"><?= htmlspecialchars($t['region_title']) ?></h2>
|
|
<p class="kdoc-section__sub"><?= htmlspecialchars($t['region_sub']) ?></p>
|
|
<div class="kdoc-features">
|
|
<div class="kdoc-feature-card">
|
|
<span class="kdoc-feature-card__icon">🇳🇴</span>
|
|
<h3 class="kdoc-feature-card__title"><?= htmlspecialchars($t['rr1_title']) ?></h3>
|
|
<p class="kdoc-feature-card__body"><?= htmlspecialchars($t['rr1_body']) ?></p>
|
|
</div>
|
|
<div class="kdoc-feature-card">
|
|
<span class="kdoc-feature-card__icon">🇪🇺</span>
|
|
<h3 class="kdoc-feature-card__title"><?= htmlspecialchars($t['rr2_title']) ?></h3>
|
|
<p class="kdoc-feature-card__body"><?= htmlspecialchars($t['rr2_body']) ?></p>
|
|
</div>
|
|
<div class="kdoc-feature-card">
|
|
<span class="kdoc-feature-card__icon">⚖️</span>
|
|
<h3 class="kdoc-feature-card__title"><?= htmlspecialchars($t['rr3_title']) ?></h3>
|
|
<p class="kdoc-feature-card__body"><?= htmlspecialchars($t['rr3_body']) ?></p>
|
|
</div>
|
|
<div class="kdoc-feature-card">
|
|
<span class="kdoc-feature-card__icon">🌎</span>
|
|
<h3 class="kdoc-feature-card__title"><?= htmlspecialchars($t['rr4_title']) ?></h3>
|
|
<p class="kdoc-feature-card__body"><?= htmlspecialchars($t['rr4_body']) ?></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- CTA strip -->
|
|
<section class="kdoc-cta-strip">
|
|
<h2 class="kdoc-cta-strip__title"><?= htmlspecialchars($t['cta_title']) ?></h2>
|
|
<p class="kdoc-cta-strip__sub"><?= htmlspecialchars($t['cta_sub']) ?></p>
|
|
<div class="kdoc-hero__ctas">
|
|
<?php if ($isAuthed): ?>
|
|
<a href="/redact.php" class="kdoc-btn-primary"><?= htmlspecialchars($t['btn_open']) ?></a>
|
|
<?php else: ?>
|
|
<a href="<?= htmlspecialchars($toolsLogin) ?>" class="kdoc-btn-primary"><?= htmlspecialchars($t['btn_signin_cta']) ?></a>
|
|
<a href="<?= htmlspecialchars($registerUrl) ?>" class="kdoc-btn-secondary"><?= htmlspecialchars($t['btn_register']) ?></a>
|
|
<?php endif; ?>
|
|
</div>
|
|
</section>
|
|
|
|
<?php require_once __DIR__ . '/includes/footer.php'; ?>
|
|
<script src="assets/js/tools.js" defer></script>
|
|
</body>
|
|
</html>
|