Robert Stone
commited on
Commit
•
7f6e703
1
Parent(s):
a463ea0
include ftfy, wcwidth
Browse files- dep.py +0 -0
- spamassassin.py +1 -1
dep.py
ADDED
The diff for this file is too large to render.
See raw diff
|
|
spamassassin.py
CHANGED
@@ -23,6 +23,7 @@ import json
|
|
23 |
import urllib.parse
|
24 |
|
25 |
import datasets
|
|
|
26 |
|
27 |
|
28 |
# TODO: Add description of the dataset here
|
@@ -84,7 +85,6 @@ _FILES = [
|
|
84 |
|
85 |
class MessageParser:
|
86 |
def __init__(self):
|
87 |
-
import ftfy
|
88 |
self.policy = email.policy.default.clone(
|
89 |
utf8=True,
|
90 |
refold_source='none')
|
|
|
23 |
import urllib.parse
|
24 |
|
25 |
import datasets
|
26 |
+
from .dep import ftfy, wcwidth
|
27 |
|
28 |
|
29 |
# TODO: Add description of the dataset here
|
|
|
85 |
|
86 |
class MessageParser:
|
87 |
def __init__(self):
|
|
|
88 |
self.policy = email.policy.default.clone(
|
89 |
utf8=True,
|
90 |
refold_source='none')
|