GithubHelp home page GithubHelp logo

discontiguous_entities_emnlp2016's Introduction

Description of files

This repository stores the files corresponding to our paper Learning to Recognize Discontiguous Entities.

count_graph.py: Counts the number of (hyper-)paths from the root to the leaves for a sequence of length n.

-k is the number of components in the discontiguous entity. So "pupils ... dilated" would have k=2

-n is the sequence length, which is the number of tokens in the sentence

-v is the verbose mode, allows you to see the transition matrix

For example, to produce the transition matrix in the supplementary material, use:

python count_graph.py -v -k 2 --shared

(This will also print the number of paths on a sequence of length n=4 by default)

The corresponding paper can be read at: https://www.aclweb.org/anthology/D16-1008/ or at arXiv: https://arxiv.org/abs/1810.08579

Note that the reference to Tang et al. in the ACL Anthology points to an incorrect version. The arXiv version fixes this mistake.

To cite the code, please use the following:

Aldrian Obaja Muis and Wei Lu. 2016. Learning to Recognize Discontiguous Entities. Proceedings of the 2016
Conference on Empirical Methods in Natural Language Processing, 75โ€“84. https://doi.org/10.18653/v1/D16-1008.
Supplementary Material. Code retrieved from
https://github.com/justhalf/discontiguous_entities_emnlp2016/blob/master/count_graph.py

discontiguous_entities_emnlp2016's People

Contributors

justhalf avatar

Stargazers

 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.