Git Product home page Git Product logo

coreference's Introduction

  1. Modules:

    • corpus.py: build corpus data and all mentions pairs
    • feature.py: mention class and mention pair class, feature engineering here
    • get_files.py: generate scorer readable gold and response files
    • run.py: the main module to run
    • best performance: MUC - 66.14%
  2. Usage:

    • in command line interface, type in: python run.py -h to see help message
    • to only quickly check the TEST evaluation result (we have the trained model and test result given):
    1. perl scorers/scorer.pl all gold.txt response.txt "none"
    • to run both TRAIN and TEST procedures, follow the steps below (may take around 20 mins to train):
    1. python run.py train : to train the model
    2. python run.py test : to test the trained model on test data
    3. perl scorers/scorer.pl all gold.txt response.txt "none" : to evaluate the response with all metric measurements
    • to test on DEV data with already trained model:
    1. python run.py dev
    2. perl scorers/scorer.pl all gold.txt response.txt "none"
  3. For developers:

    • to improve the performance, only need to tune the feature.py and model in line 47 in run.py.
  4. Notes: If "too many repeated mentions in the response" happens during evaluation with scorer.pl, please try to evaluate that failed measure metric separately. This seems to be a bug from the provided scorer.pl.

coreference's People

Contributors

jiaeyan avatar lkmcl37 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

jiaeyan

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.