Code Monkey home page Code Monkey logo

nlp's Introduction

Introduction

It's an simple implemention of some of the algorithm of NLP that I learned in class.It's used to process chinese sentences.

How To Use It

  1. Import into your eclipse.
  2. Run Begin.java under NLP package.

Envionment

JDK Version -- 1.8 Eclipse Version -- neon(4.6) Encoding:GBK

Packages Explanation

MaxMatchingMethod:最大匹配,此包下实现了双向匹配算法。 MaxProbability:实现了概率最大分词算法。 CLAWS:实现了CLAWS算法。 CLAWS_improved:改进了CLAWS算法。 viterbi:实现了viterbi算法。

Prezentation

双向匹配算法.PNG

概率最大分词算法.PNG

CLAWS改良.PNG

Update

2017/5/1 使用缓存等加快IO速度,使用单例模式为每个算法仅创造一个实例,减少不必要的IO,同时由于常驻内存的关系,算法运行速度基本维持在5ms以内,除了第一次运行外。CLAWS和viterbi处理复杂的句子可能导致假死。

nlp's People

Contributors

blade6 avatar

Watchers

 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.