nodejieba
nodejieba copied to clipboard
请问如何过滤掉标点符号
对一段文本进行cut但是只想提取关键字而不想要标点,是否需要人工处理一遍文本?
/[\u3000-\u303F]|[\uFF00-\uFFEF]/
或者反过来只要中文
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.