@stll/anonymize 1.4.1 → 1.4.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.
@@ -0,0 +1,23 @@
1
+ //#region src/data/legal-form-leading-clauses.json
2
+ var _comment = "Per-language clause text that may precede an organization name before a legal-form suffix. `phrases` are trimmed unconditionally when found inside an over-captured legal-form span. `directPrefixes` are trimmed only when the text before the prefix already looks like prose, so company names such as `Stand By Me LLC` are preserved.";
3
+ var en = {
4
+ "phrases": [
5
+ "by and among",
6
+ "by and between",
7
+ "is between"
8
+ ],
9
+ "directPrefixes": [
10
+ "by",
11
+ "among",
12
+ "amongst",
13
+ "between"
14
+ ]
15
+ };
16
+ var legal_form_leading_clauses_default = {
17
+ _comment,
18
+ en
19
+ };
20
+ //#endregion
21
+ export { _comment, legal_form_leading_clauses_default as default, en };
22
+
23
+ //# sourceMappingURL=legal-form-leading-clauses.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"legal-form-leading-clauses.mjs","names":[],"sources":["../src/data/legal-form-leading-clauses.json"],"sourcesContent":[""],"mappings":""}
@@ -17,6 +17,7 @@ var person_stopwords_default = {
17
17
  "basic",
18
18
  "belgian",
19
19
  "borrower",
20
+ "branch",
20
21
  "british",
21
22
  "bulgarian",
22
23
  "buyer",
@@ -35,6 +36,8 @@ var person_stopwords_default = {
35
36
  "default",
36
37
  "delaware",
37
38
  "delivery",
39
+ "department",
40
+ "division",
38
41
  "dry",
39
42
  "dutch",
40
43
  "english",
@@ -50,6 +53,7 @@ var person_stopwords_default = {
50
53
  "germany",
51
54
  "greek",
52
55
  "guarantor",
56
+ "headquarters",
53
57
  "hungarian",
54
58
  "indiana",
55
59
  "interest",
@@ -80,6 +84,7 @@ var person_stopwords_default = {
80
84
  "notice",
81
85
  "november",
82
86
  "october",
87
+ "office",
83
88
  "ohio",
84
89
  "opportunity",
85
90
  "owner",
@@ -102,6 +107,7 @@ var person_stopwords_default = {
102
107
  "section",
103
108
  "seller",
104
109
  "september",
110
+ "subsidiary",
105
111
  "slovak",
106
112
  "slovenian",
107
113
  "spanish",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stll/anonymize",
3
- "version": "1.4.1",
3
+ "version": "1.4.4",
4
4
  "description": "Multi-layer PII detection and anonymization pipeline with regex, NER, deny lists, and coreference resolution",
5
5
  "type": "module",
6
6
  "exports": {