Giter Club home page Giter Club logo

mohaema's Introduction

Mohaema 中文分词系统

介绍

这是基于字典和规则的中文分词项目,可以支持快速且准确的中文分词,同时可以根据新文本和旧字典生成新字典,也通过PyQt支持UI界面显示。

详细介绍和算法可在report/下找到。

使用方法

Python程序内部调用

from moha import segment
segment("艺术是什么")

#函数返回 "艺术  是  什么"

命令行调用

python moha.py "伙伴精神是二十国集团最宝贵的财富"
# 伙伴  精神  是  二十国  集团  最  宝贵  的  财富

python moha.py [infile] [outfile]
# 可以在outfile文件下写入对infile的分词结果

详细介绍

image image image image image image image image image image

Contents

Path Content
/programm/project.py main programm (note: cannot run without PyQt4)
/data all the work aimed at G20 corpus
/lex lex-building
/report project report
/data/segtest.txt testing-corpus mentioned in report
/data/G20_3.txt corpus from G20

@FlouriteJ

2017/01/10

mohaema's People

Contributors

flouritej avatar

Stargazers

 avatar Oops avatar

Watchers

James Cloos avatar

Forkers

snoopycat

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.