I have the following sentences, that I want to remove all punctuation.
首页 » 政策法规 » 正文吉林省实施《中华人民共和国老年人权益保障法》若干规定 发布时间: 2008-01-04
I want to remove all Chinese punctuation, including empty space " ". Below is my code:
line = line.decode("utf8")
line = re.sub("[\s+\.\!\/_,$%^*(+\"\']+|[+——!,。?、~@#¥%……&*():;《)《》“”()»〔〕-]+".decode("utf8"), "".decode("utf8"),line)
However, I still got empty space not deleted. I wonder if there exist easier ways to remove Chinese punctuation?
想做/ 兼_职/学生_/ 的 、加,我Q: 1 5. 8 0. !!?? 8 6 。0. 2。 3 有,惊,喜,哦
in my question, but I can not post it. – Engobe