Giter VIP home page Giter VIP logo

Comments (4)

gzp9595 avatar gzp9595 commented on June 2, 2024

您好,我们现在使用过滤器更好的效果是在有词性标注的时候,他会根据词性过滤很多没有意义的词语,在没有词性标注辅助的时候,过滤器的效果只能过滤一些我们根据字典初始设定的词语~

from thulac-python.

xuf12 avatar xuf12 commented on June 2, 2024

这个功能似乎还没有更新。还是不能自己定义停用词字典吗?

from thulac-python.

XuXiaofengXu avatar XuXiaofengXu commented on June 2, 2024

很希望可以新增用户自定义的停用词典功能

from thulac-python.

lai-bluejay avatar lai-bluejay commented on June 2, 2024

建议自己再加工一遍结果就行

seg_v1 = self.seg_obj.fast_cut(sentence, text=True)
seg_res = seg_v1.split()
seg_res = ' '.join([i for i in seg_res if i.strip() and i not in stop_words])

from thulac-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.