Datasets:
FredZhang7
commited on
Commit
•
6bde80f
1
Parent(s):
07f2767
line breaks look nicer
Browse files
README.md
CHANGED
@@ -50,22 +50,27 @@ This is a large corpus of 41,578 preprocessed sms spam messages and emails sent
|
|
50 |
|
51 |
<br>
|
52 |
|
53 |
-
|
54 |
- [spam_assassin.js](./spam_assassin.js), followed by [spam_assassin.py](./spam_assassin.py)
|
55 |
- [enron_spam.py](./enron_spam.py)
|
56 |
|
|
|
57 |
|
58 |
-
|
59 |
![](./spam_counts.png)
|
60 |
|
61 |
-
|
|
|
|
|
62 |
To make the text format between sms messages and emails consistent, email subjects and content are separated by two newlines:
|
63 |
|
64 |
```python
|
65 |
text = email.subject + "\n\n" + email.content
|
66 |
```
|
67 |
|
68 |
-
|
|
|
|
|
69 |
- https://huggingface.co/datasets/sms_spam
|
70 |
- https://github.com/MWiechmann/enron_spam_data
|
71 |
- https://github.com/stdlib-js/datasets-spam-assassin
|
|
|
50 |
|
51 |
<br>
|
52 |
|
53 |
+
### Some preprcoessing algorithms
|
54 |
- [spam_assassin.js](./spam_assassin.js), followed by [spam_assassin.py](./spam_assassin.py)
|
55 |
- [enron_spam.py](./enron_spam.py)
|
56 |
|
57 |
+
<br>
|
58 |
|
59 |
+
### Data composition
|
60 |
![](./spam_counts.png)
|
61 |
|
62 |
+
<br>
|
63 |
+
|
64 |
+
### Description
|
65 |
To make the text format between sms messages and emails consistent, email subjects and content are separated by two newlines:
|
66 |
|
67 |
```python
|
68 |
text = email.subject + "\n\n" + email.content
|
69 |
```
|
70 |
|
71 |
+
<br>
|
72 |
+
|
73 |
+
### Original source
|
74 |
- https://huggingface.co/datasets/sms_spam
|
75 |
- https://github.com/MWiechmann/enron_spam_data
|
76 |
- https://github.com/stdlib-js/datasets-spam-assassin
|