Git Product home page Git Product logo

qqgroupstatisitic's Introduction

这是一个对QQ群聊记录进行统计的小东西

起因是群友在讨论,谁说过最多的词汇,后来我想,用程序实现一下,顺便练习下分词相关内容。

分词使用的是NLPChina提供的开源Jar包,在此表示感谢。

使用方式

  1. 以txt格式导出群聊记录,把群聊记录配置到程序上
  2. 把认识的人,添加到初始化map中。
  3. 跑程序,需要改什么直接改,结果控制台输出。

其实是一个很简单的小东西,但是我做了很久,一方面是正则不熟,一方面是看分词如何使用,还有一方面是新ide不会用

正则倒是没什么,会了之后,接下来都很快了。

分词一时半会也处理不了。一方面是数学水平不行,另一方面是没有字典。

坦诚将,跟了下分词的断点,效果不算是奇差,但是没想象的好了。

基本无法准确分词,错误率有多少不清楚,但是在实际使用上,基本就没办法靠这个做统计了。

分出来的效果就相当于,英语中最常用的那几千个词,基本没法用。

本来还想整理下代码再放出来的,现在心灰意冷,把敏感信息删掉就放出来了。。。

qqgroupstatisitic's People

Contributors

angrydisk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.