How Does PII Detection Work?
PII detection identifies personal data in text using pattern matching and machine learning. anonym.legal uses a hybrid approach:
- 1Pattern Matching: Regex patterns detect structured data (SSNs, credit cards, IBANs) by format; some identifiers are additionally verified with a check digit.
- 2Named Entity Recognition: NER models identify names, locations, and organizations in 48 languages.
- 3Context Scoring: Each detection is scored based on surrounding context to minimize false positives.
This hybrid approach detects 273 entity types.
当社のハイブリッドアプローチ
PIIの検出方法
- 構造化データ(メールアドレス、SSN、クレジットカード)向けの正規表現パターン
- 48言語中42言語で、名前や組織名を検出する学習済みの名前認識モデル
- 構造化データに対する決定論的な正規表現マッチ
- 名前の検出は確率的で、名前を見逃すことがあります
- 匿名化の前に検出結果を確認できます
- 検出ごとのスコア
10ステッププロセス
入力から出力まで、あなたの文書に何が起こるかを正確に示します
テキストの入力
ウェブインターフェース、API、またはOfficeアドインを介して文書を提出します
言語検出
システムが最適な処理のために文書の言語を特定します
トークン化
テキストがパターンマッチングのためにトークンに分割されます
パターンマッチング
正規表現パターンが273のエンティティタイプをスキャンします
コンテキスト分析
周囲のテキストが検出精度を向上させます
信頼度スコアリング
各検出に信頼度スコアが付与されます
エンティティ分類
検出された項目はタイプ別に分類されます
結果のレビュー
位置とスコアを持つすべての検出を確認します
匿名化の適用
方法を選択します:置換、墨消し、ハッシュ、暗号化、またはマスク
出力文書
匿名化された文書をダウンロードします
MCPサーバー:プライバシー優先のAI統合
あなたのデータがMCPサーバーを通じて流れる方法、AIツールを安全に保つために
AIツールリクエスト
あなたのAIツール(Cursor、Claude)がPIIを含むリクエストを送信します
MCPサーバーが傍受
サーバーがすべてのPIIエンティティを分析し検出します
匿名化
PIIは、選択したオペレーターに従って変換されます。たとえばトークンに置き換えられるか、墨消しされます
AI処理
AIツールは匿名化されたテキストで処理を続行します
レスポンスの返却
AIのレスポンスがMCPサーバーを通じて返されます
デトークン化
オプション:元の値がユーザーに復元されます
実世界の例
John Doeの支払いを処理、メールjohn@example.com、カード4532-1111-2222-3333AIが見るもの
PII_PERSON_001の支払いを処理、メールPII_EMAIL_001、カードPII_CREDIT_CARD_001あなたが受け取るもの
Frequently Asked Questions
How accurate is the detection?
Our hybrid approach combines regex patterns with Named Entity Recognition (NER). Some identifiers are additionally verified with a check digit.
What happens to my data during processing?
Text is sent to our EU-hosted servers (Hetzner, Germany) over TLS 1.3 for analysis.
Can I add custom entity types?
Yes! You can create custom recognizers with your own regex patterns and context words. Custom entities support the same operators (replace, mask, hash, encrypt, redact) as built-in types.
How does reversible encryption work?
The Encrypt operator uses AES encryption with your key. Encryption uses the key you provide; the server processes the text to apply it. This allows re-identification for audits or legal discovery while keeping data protected in transit and storage.