Code Monkey home page Code Monkey logo

pycws's Introduction

#Requirements:

  • Ubuntu 12.04
  • Python 2.7.3
  • Perl 5

File Description:

src/cwsFMM.py -- source code of tool cwFMM

src/pku_training.utf8 -- training data

src/pku_test.utf8 -- test data

socre/score -- tools to socre the result

socre/pku_test_gold.utf8 -- gold data

ref -- reference papers of the project

#Tool:

cwsBMM

Description:

Using Backward Maximum Match(BMM) algorithm to do Chinese Word Segamentation

=== TOTAL TRUE WORDS RECALL: 0.924

=== TOTAL TEST WORDS PRECISION: 0.897

=== F MEASURE: 0.910

Usage:

python cwsBMM.py training_file test_file result_file

perl score training_file gold_file result_file > score_file

Notice: All the data and the tool score come from:http://sighan.cs.uchicago.edu/bakeoff2005/

cwsFMM

Description:

Using Forward Maximum Match(BMM) algorithm to do Chinese Word Segamentation

=== TOTAL TRUE WORDS RECALL: 0.920

=== TOTAL TEST WORDS PRECISION: 0.895

=== F MEASURE: 0.907

Usage:

python cwsFMM.py training_file test_file result_file

perl score training_file gold_file result_file > score_file

Notice: All the data and the tool score come from:http://sighan.cs.uchicago.edu/bakeoff2005/

pycws's People

Contributors

minixalpha 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.