nodejieba icon indicating copy to clipboard operation
nodejieba copied to clipboard

请问如何过滤掉标点符号

Open YUANLIN327 opened this issue 7 years ago • 3 comments

对一段文本进行cut但是只想提取关键字而不想要标点,是否需要人工处理一遍文本?

YUANLIN327 avatar Mar 06 '17 15:03 YUANLIN327

/[\u3000-\u303F]|[\uFF00-\uFFEF]/

crapthings avatar Oct 10 '18 02:10 crapthings

或者反过来只要中文

crapthings avatar Oct 10 '18 07:10 crapthings

This issue has not been updated for over 5 years and will be marked as stale. If the issue still exists, please comment or update the issue, otherwise it will be closed after 7 days.

github-actions[bot] avatar Sep 07 '24 13:09 github-actions[bot]