入力文字列が次のような場合:
"that`s not good thing ! you havn`t understand anything ?"
私はそれをに変換したい:
" thats not good thing you havnt understand anything "
これは私が欲しいものですか?
次のreg.expを試します。
line = "that`s not good thing ! you havn`t understand anything ?"
text=re.sub("[^\w]"," ",line).split()
しかし、それは望ましい出力では機能しません。同じものを提案してください。