Eason Lu commited on
Commit
28db600
·
1 Parent(s): 100bec7

delete debug code

Browse files

Former-commit-id: 92da7ffd290fb92fe808c6bb07fb2e90bbdfde61

Files changed (1) hide show
  1. SRT.py +0 -5
SRT.py CHANGED
@@ -405,11 +405,6 @@ class SRT_script():
405
  if (" " in matched and " " in word) or (" " not in matched and " " not in word):
406
  if enchant.utils.levenshtein(word, matched)<enchant.utils.levenshtein(word, temp):
407
  temp = matched
408
- if word == "pull first":
409
- print(temp)
410
- print(enchant.utils.levenshtein(word, temp))
411
- print(threshold)
412
- exit()
413
  if enchant.utils.levenshtein(word, temp) < threshold:
414
  distance = enchant.utils.levenshtein(word, temp)
415
  result = temp
 
405
  if (" " in matched and " " in word) or (" " not in matched and " " not in word):
406
  if enchant.utils.levenshtein(word, matched)<enchant.utils.levenshtein(word, temp):
407
  temp = matched
 
 
 
 
 
408
  if enchant.utils.levenshtein(word, temp) < threshold:
409
  distance = enchant.utils.levenshtein(word, temp)
410
  result = temp