Git Product home page Git Product logo

Comments (3)

lionsoul2014 avatar lionsoul2014 commented on May 24, 2024

1,对于分词,换行符和空格是天然的分隔符,都默认去掉了,不知道什么需求会需要换行符和空格。
2,保留标点可以在jcseg.properties中自己配置。

#The punctuations that will be keep in an token.(Not the end of the token).
jcseg.keeppunctuations = @#%.&+

3,默认全部转成小写了,这个只能改代码,也不太明白什么需求会对大小写敏感。
4,网址的识别和NER是NLP模式的工作,运行很完美。

$/w/null 3.5美金/q/nuc_currency.usd 可以/a/null 购买/v/null 一个/q/null footbal/en/null ,/w/null https://github.com/lionsoul2014/jcseg/issues/52/en/url
**/ns/place.nation 版本/q/null 的/u/null github/en/null 请/v/null 访问/v/null http://gitee.com//en/url

demo和文档有说明介绍,请仔细阅读。

from jcseg.

shijunti19 avatar shijunti19 commented on May 24, 2024

@lionsoul2014 那个锤子手机不是有个大爆炸嘛!然后我做了一个手机编辑器,把文章炸成一个个词组,然后点击可以给文字加颜色,编辑什么的,找了大部分分词的,你的比较好用,但是就是分词出来不是原文,缺上面这些东西

from jcseg.

lionsoul2014 avatar lionsoul2014 commented on May 24, 2024

@shijunti19 两份数据隔离显示就OK了,分词结果统一小写,阅读方便,反而是个好体验。

from jcseg.

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.