actually do return the processed data
This commit is contained in:
parent
ef91b2fca7
commit
128db6d440
@ -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
|
||||
|
Reference in New Issue
Block a user