Update train.py
Browse files
train.py
CHANGED
|
@@ -28,8 +28,7 @@ _regexes = [
|
|
| 28 |
COMMA_REGEX = re.compile(r"[^.!?]*([^.!?]*,){4,}[^.!?]*", re.IGNORECASE)
|
| 29 |
|
| 30 |
REGEXES = tuple(re.compile(text, re.IGNORECASE) for text in _regexes)
|
| 31 |
-
PHRASES =
|
| 32 |
-
[
|
| 33 |
"testament",
|
| 34 |
"testament", # duplicating these on purpose
|
| 35 |
"and regret",
|
|
@@ -5954,7 +5953,6 @@ PHRASES = set(
|
|
| 5954 |
"seemingly simple",
|
| 5955 |
"the rising tide",
|
| 5956 |
]
|
| 5957 |
-
)
|
| 5958 |
|
| 5959 |
PUNC = ["—", "–", "*", "#", "…", ":", ", almost", "---"]
|
| 5960 |
COUNT = 0
|
|
|
|
| 28 |
COMMA_REGEX = re.compile(r"[^.!?]*([^.!?]*,){4,}[^.!?]*", re.IGNORECASE)
|
| 29 |
|
| 30 |
REGEXES = tuple(re.compile(text, re.IGNORECASE) for text in _regexes)
|
| 31 |
+
PHRASES = [
|
|
|
|
| 32 |
"testament",
|
| 33 |
"testament", # duplicating these on purpose
|
| 34 |
"and regret",
|
|
|
|
| 5953 |
"seemingly simple",
|
| 5954 |
"the rising tide",
|
| 5955 |
]
|
|
|
|
| 5956 |
|
| 5957 |
PUNC = ["—", "–", "*", "#", "…", ":", ", almost", "---"]
|
| 5958 |
COUNT = 0
|