Giter Club home page Giter Club logo

acl-2018-event-coreference's Introduction

Improving Event Coreference Resolution by Modeling Correlations between Event Coreference Chains and Document Topic Structures

STEPS

  1. Run https://github.com/prafulla77/TAC-KBP-2017-Participation to extract event mentions and obtain pairwise score for coreference relations.
  2. Run https://github.com/PrincetonML/SIF to generate pairwise sentence similarity scores.
  3. Extract subevents using the patterns described in paper (a sequence of two or more verb event mentions that modify their parent verb with 'conj:and' or 'ccomp' dependency relations in a sentence are extracted as subevents).
  4. Run new_test_ILP.py.

Files format

  • Coreference Scores:

    OrderedDict([FileName:OrderedDict([Event_Key:OrderedDict([prev_event_key_1: score_1, prev_key_2:score_2)])...])
  • Get Subevents using get_subevents.py

  • For sentence similarity: Use:

def _get_sim(emb1, emb2):
    inn = (emb1 * emb2).sum(axis=1)
    emb1norm = np.sqrt((emb1 * emb1).sum(axis=1))
    emb2norm = np.sqrt((emb2 * emb2).sum(axis=1))
    scores = inn / emb1norm / emb2norm
    return scores
where emb_1 and emb_2 are generated based on PrincetonML/SIF Project

Format: Dict{Filename:{previoussentence__currentsentence: score}}

acl-2018-event-coreference's People

Contributors

prafulla77 avatar

Stargazers

 avatar  avatar Roger avatar 慢半拍 avatar zhaojiaqi avatar ZhengmingLuo avatar  avatar Zhongyang Li avatar yuanke avatar

Watchers

James Cloos avatar  avatar

Forkers

phungvanduy

acl-2018-event-coreference's Issues

Can you share some external file?

Hi @prafulla77

I really impressed with your research, I also working on Coreference Problem and your research solved really good for the merging phase for the conference problem.

I have tried to reproduce your code and your result to understand your code to integrate it into my project. But I am stuck at trying to make some external files like: ../pairwise_scores/simple_score.pkl, ../data/test_data.pkl, ../data/test_sent_sim.pkl, ../data/file_subevent.pkl
I referred to your old project https://github.com/prafulla77/TAC-KBP-2017-Participation but seem the instruction is not clearly so really hard to reproduce your code and make these files.
Can you provide this external file or re-write your instruction?

Thank you so much.
Looking forward for your reply.
Duy.

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.