sanchit-gandhi HF staff commited on
Commit
3c42c62
1 Parent(s): aa7c4d4

don't remove hyphens

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -45,7 +45,6 @@ number_normalizer = EnglishNumberNormalizer()
45
 
46
  def preprocess(text):
47
  text = number_normalizer(text).strip()
48
- text = text.replace("-", " ")
49
  if text[-1] not in punctuation:
50
  text = f"{text}."
51
 
 
45
 
46
  def preprocess(text):
47
  text = number_normalizer(text).strip()
 
48
  if text[-1] not in punctuation:
49
  text = f"{text}."
50