electroglyph commited on
Commit
00f5252
·
verified ·
1 Parent(s): 2c040a2

Update train.py

Browse files
Files changed (1) hide show
  1. train.py +1 -3
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 = set(
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