Coder Social home page Coder Social logo

acl2013-charparsing's Introduction

ACL2013-CharParsing

This is an example script to run the code of my ACL 2013 paper Chinese Parsing Exploiting Characters

Please follow the below steps:
(1) Download the code of ZPar.
(2) Modify the "setting" file, finding the following line
     #chinese constituency parser: acl13(default), jcad
   ensuring that CHINESE_CONSTITUENCY_PARSER jcad
(3) run "python configure.py chinese conparser"
(4) run command cmake . generate Makefile
(5) compile using make
(6) copy the bin files in the bin folder into folder ZPar-RunExample
(7) run "./ctb60-exp.sh" in ZPar-RunExample

================ There is another folder named TreeGeneration, telling one user that how to generate training corpus and character-level phrase structures.

  • Training corpus generation
       python ../tools/binarize_noroot.py ../tools/rule.txt test.cs test.zpar
       python ../tools/append_wordstructure.py -d ../tools/word.inner.zpar -i test.zpar -o test.chars.zpar -r remain.words
  • Character-level phrase structures
       python ../tools/unbinarizeclt.py -i test.chars.zpar -o test.chars.cs

================ Any problems, please concat [email protected].

acl2013-charparsing's People

Contributors

so2jia avatar zhangmeishan avatar

Watchers

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