GithubHelp home page GithubHelp logo

Comments (2)

dpuser6 avatar dpuser6 commented on May 4, 2024

估计还是要自己在细分领域搞训练语料

from pkuseg-python.

jingjingxupku avatar jingjingxupku commented on May 4, 2024

感谢您的反馈,我们推出了新的版本,新的版本在分词效果和分词速度上均有提升,以下是新版本代码的输出结果:

In [1]: import pkuseg

In [2]: s = pkuseg.pkuseg()

In [3]: s.cut('这个不是我刷的哦')
Out[3]: ['这个', '不是', '我', '刷的', '哦']

In [4]: s.cut('今天可能不行啊今天工资没到账今天是礼拜五')
Out[4]: ['今天', '可能', '不行', '啊', '今天', '工资', '没', '到账', '今天', '是', '礼拜五']

In [5]: s.cut('你好不是对不起')
Out[5]: ['你好', '不是', '对不起']

from pkuseg-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.