kopia lustrzana https://github.com/thinkst/zippy
Testing how much case impacts performance
Signed-off-by: Jacob Torrey <jacob@thinkst.com>pull/6/head
rodzic
2179778dcf
commit
fb8bdad916
|
@ -21,7 +21,7 @@ def clean_text(s : str) -> str:
|
|||
s = re.sub(' \n', '\n', s)
|
||||
|
||||
# Remove non-alphanumeric chars
|
||||
s = re.sub('[^0-9A-Za-z,\.\(\) \n]', '', s).lower()
|
||||
s = re.sub('[^0-9A-Za-z,\.\(\) \n]', '', s)#.lower()
|
||||
|
||||
return s
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue