Commit 0cbcc202 by Vik Paruchuri

modify util functions to allow apostrophes

parent 62ea08b7
this is a aubsmission with some spelling errors thrown in and grammaris not so great eithwer i dont think its very good .
\ No newline at end of file
I didn't know
\ No newline at end of file
......@@ -19,7 +19,7 @@ def sub_chars(string):
Removes all non-punctuation, digit, or letter characters.
Returns sanitized string.
"""
sub_pat = r"[^A-Za-z\.\?!,]"
sub_pat = r"[^A-Za-z\.\?!,';:]"
char_pat = r"\."
com_pat = r","
ques_pat = r"\?"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment