@maskera/core 0.8.3 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,14 +73,9 @@ and are enabled by the hybrid pipeline.
|
|
|
73
73
|
Note: the model-hybrid `redactWithNer` in the `maskera` package enables
|
|
74
74
|
`adress`, `lagenhetsnummer` and the context-labeled account/journal identifiers
|
|
75
75
|
by default (its callers have free text by definition); only the synchronous
|
|
76
|
-
`redact()` here keeps the structured default set.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
with 952 annotated PII strings, that complete Maskera v20 hybrid fully removed
|
|
80
|
-
941/952 (98.8%); LogosGuard 2.4.4 in Chrome, Free/`Balanced`, fully removed
|
|
81
|
-
606/952 (63.7%). Partial/clear-text leaks were 5/6 and 49/297 respectively.
|
|
82
|
-
The corpus is author-coupled and not exhaustively annotated for precision; see
|
|
83
|
-
the exact settings, outputs and caveats in
|
|
76
|
+
`redact()` here keeps the structured default set. On the 258-text Swedish domain
|
|
77
|
+
regression corpus (952 annotated PII strings), that complete Maskera v20 hybrid
|
|
78
|
+
reaches 943/952 (99.1%) full hits (3 partial leaks, 6 clear-text misses); see
|
|
84
79
|
[docs/BENCHMARKS.md](https://github.com/joelhagvall/maskera/blob/main/docs/BENCHMARKS.md).
|
|
85
80
|
|
|
86
81
|
## API
|
|
@@ -121,7 +116,7 @@ value to redact. `validate` can reject false positives (e.g. failing a checksum)
|
|
|
121
116
|
documents and book-length text. The constant factor is worst on digit-dense
|
|
122
117
|
input: a megabyte of pure digits (a log dump) blocks the thread for roughly a
|
|
123
118
|
second per call. For documents in the megabyte class and up, split the text on
|
|
124
|
-
line or paragraph boundaries and redact chunk by chunk
|
|
119
|
+
line or paragraph boundaries and redact chunk by chunk: detection is local to
|
|
125
120
|
each chunk, so only an identifier straddling a split point is affected.
|
|
126
121
|
|
|
127
122
|
## More
|