kcelia commited on
Commit
c10f4f8
1 Parent(s): ce217e0

chore: replace members by contract parties, and bob to david

Browse files
app.py CHANGED
@@ -36,7 +36,9 @@ MAPPING_ANONYMIZED_SENTENCES = read_pickle(MAPPING_ANONYMIZED_SENTENCES_PATH)
36
  MAPPING_ENCRYPTED_SENTENCES = read_pickle(MAPPING_ENCRYPTED_SENTENCES_PATH)
37
  ORIGINAL_DOCUMENT = read_txt(ORIGINAL_FILE_PATH).split("\n\n")
38
  MAPPING_DOC_EMBEDDING = read_pickle(MAPPING_DOC_EMBEDDING_PATH)
39
- print(ORIGINAL_DOCUMENT)
 
 
40
 
41
  # 4. Data Processing and Operations (No specific operations shown here, assuming it's part of anonymizer or client usage)
42
 
 
36
  MAPPING_ENCRYPTED_SENTENCES = read_pickle(MAPPING_ENCRYPTED_SENTENCES_PATH)
37
  ORIGINAL_DOCUMENT = read_txt(ORIGINAL_FILE_PATH).split("\n\n")
38
  MAPPING_DOC_EMBEDDING = read_pickle(MAPPING_DOC_EMBEDDING_PATH)
39
+
40
+ print(f"{ORIGINAL_DOCUMENT=}\n")
41
+ print(f"{MAPPING_DOC_EMBEDDING.keys()=}")
42
 
43
  # 4. Data Processing and Operations (No specific operations shown here, assuming it's part of anonymizer or client usage)
44
 
files/anonymized_document.txt CHANGED
@@ -1,11 +1,11 @@
1
- Members: a5989a5c and 20f545cf
2
 
3
- Date: 7bbd0258 28ebebcd, 87a7f982
4
 
5
- Scope: 20f545cf agrees to provide graphic design services to a5989a5c for the creation of a company logo.
6
 
7
- Amount: Bob agrees to pay 20f545cf 500 upon completion and delivery of the logo.
8
 
9
- Deadline: The logo design must be completed and delivered to Bob within 14 days of the contract signing date.
10
 
11
- Payment terms: 20f545cf's international bank account N: 43a4c5f3
 
1
+ Contract parties: 7f2310e8 and 7166a872
2
 
3
+ Date: c0239016 4f1ec317, e1bfa3a5
4
 
5
+ Scope: 7166a872 agrees to provide graphic design services to 7f2310e8 for the creation of a company logo.
6
 
7
+ Amount: 7f2310e8 agrees to pay 7166a872 500 upon completion and delivery of the logo.
8
 
9
+ Deadline: The logo design must be completed and delivered to 7f2310e8 within 14 days of the contract signing date.
10
 
11
+ Payment terms: 7166a872's international bank account N: df667faf
files/mapping_clear_to_anonymized.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:aed1a1360ae82291357e5de8369d63d5514d90114743d1845b32642df9086902
3
- size 906
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7916c386aa21445d37ad828a7d0dea44d4669ffd29da3203c51aedb7993ee29
3
+ size 938
files/mapping_clear_to_encrypted.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:45e4ba890f0b8c8d239534f9c6c1d0878f5419b62af6b32d9d7e758a0490ea8a
3
- size 916
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afb4ae61fee506105f92aa05cc2b6058c3c118c4bcc3f531e1f871a73b388312
3
+ size 925
files/mapping_doc_embedding_path.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:faa0f74bc4358424e29118dc9714512f092d83756a77d596dd9ce56c9555b444
3
- size 211319
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:165830bc31b69f2222f1f4f9273567e94698cceacdb9853efeae55969a0f61bd
3
+ size 203038
files/original_document.txt CHANGED
@@ -1,11 +1,11 @@
1
- Members: David and Kate
2
 
3
  Date: February 06, 2000
4
 
5
  Scope: Kate agrees to provide graphic design services to David for the creation of a company logo.
6
 
7
- Amount: Bob agrees to pay Kate $500 upon completion and delivery of the logo.
8
 
9
- Deadline: The logo design must be completed and delivered to Bob within 14 days of the contract signing date.
10
 
11
  Payment terms: Kate's international bank account N°: IL150120690000003111111
 
1
+ Contract parties: David and Kate
2
 
3
  Date: February 06, 2000
4
 
5
  Scope: Kate agrees to provide graphic design services to David for the creation of a company logo.
6
 
7
+ Amount: David agrees to pay Kate $500 upon completion and delivery of the logo.
8
 
9
+ Deadline: The logo design must be completed and delivered to David within 14 days of the contract signing date.
10
 
11
  Payment terms: Kate's international bank account N°: IL150120690000003111111
files/original_document_uuid_mapping.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "06": "28ebebcd",
3
- "2000": "87a7f982",
4
- "David": "a5989a5c",
5
- "February": "7bbd0258",
6
- "IL150120690000003111111": "43a4c5f3",
7
- "Kate": "20f545cf"
8
  }
 
1
  {
2
+ "06": "4f1ec317",
3
+ "2000": "e1bfa3a5",
4
+ "David": "7f2310e8",
5
+ "February": "c0239016",
6
+ "IL150120690000003111111": "df667faf",
7
+ "Kate": "7166a872"
8
  }
utils_demo.py CHANGED
@@ -60,7 +60,6 @@ PUNCTUATION_LIST = list(string.punctuation)
60
  PUNCTUATION_LIST.remove("%")
61
  PUNCTUATION_LIST.remove("$")
62
  PUNCTUATION_LIST = "".join(PUNCTUATION_LIST) + '°'
63
- print(f'{PUNCTUATION_LIST=}')
64
 
65
 
66
  def clean_directory() -> None:
 
60
  PUNCTUATION_LIST.remove("%")
61
  PUNCTUATION_LIST.remove("$")
62
  PUNCTUATION_LIST = "".join(PUNCTUATION_LIST) + '°'
 
63
 
64
 
65
  def clean_directory() -> None: