og
Browse files
app.py
CHANGED
@@ -61,6 +61,9 @@ def render_sample(subset, pii_type):
|
|
61 |
elif pii_type in sample['piis']:
|
62 |
break
|
63 |
|
|
|
|
|
|
|
64 |
# render
|
65 |
doc = spacy.tokens.Doc(nlp.vocab, words=sample['tokens'], spaces=sample['trailing_whitespace'])
|
66 |
|
|
|
61 |
elif pii_type in sample['piis']:
|
62 |
break
|
63 |
|
64 |
+
print("---" * 10)
|
65 |
+
print(sample['document'])
|
66 |
+
print("---" * 10)
|
67 |
# render
|
68 |
doc = spacy.tokens.Doc(nlp.vocab, words=sample['tokens'], spaces=sample['trailing_whitespace'])
|
69 |
|