actually do return the processed data

This commit is contained in:
surtur 2021-12-16 03:14:07 +01:00
parent ef91b2fca7
commit 128db6d440
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -16,6 +16,7 @@ class da_detector:
ngram = ngram.translate(str.maketrans('', '', punctuation))
except Exception as e:
raise e
return data
def rm_digits(data):
from string import digits
@ -24,3 +25,4 @@ class da_detector:
ngram = ngram.translate(None, digits)
except Exception as e:
raise e
return data