Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keywords方法建议屏蔽标点符号,语气词 #40

Open
chriswangweb opened this issue Dec 24, 2019 · 3 comments
Open

keywords方法建议屏蔽标点符号,语气词 #40

chriswangweb opened this issue Dec 24, 2019 · 3 comments

Comments

@chriswangweb
Copy link

建议屏蔽一些无意义的标点符号,语气词,最好能支持用户自定义屏蔽字典,谢谢,希望项目越来越棒

@ownthink
Copy link
Owner

ownthink commented Dec 24, 2019 via email

@graphnj
Copy link

graphnj commented Feb 12, 2020

str="乘坐高铁G1143(04车07A号)从湖北省赤壁北出发,10点55分到达长沙南,12点18分从长沙南乘坐高铁G2105(02车15A),15点10分到达凯里南,18点30分从凯里南乘坐高铁G2993(08车04F),18点53分到达贵定北。后由儿子江某开车接其回到贵定县金南街道庆熙社区锦江华府家中"
s=jiagu.keywords(str,5)
print(s)

输出
['点', '南', '车', '(', '分']

@ownthink
Copy link
Owner

ownthink commented Feb 12, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants