GithubHelp home page GithubHelp logo

ftamburin / qwsd Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 608 KB

Code and data for the paper "A Quantum-like approach to Word Sense Disambiguation" at RANLP2019

License: GNU Lesser General Public License v3.0

Java 30.15% Python 59.22% Shell 10.63%

qwsd's Introduction

QWSD

Code and data for the paper "A Quantum-like approach to Word Sense Disambiguation" at RANLP2019.

Tested using:

  • Python 3.6.3
  • Numpy 1.15.4
  • Scipy 0.19.1
  • NLTK 3.2.5
  • lxml 4.3.0

For reproducing our results:

  • Clone the repository.
  • Install the NLTK WordNet corpus package.
  • Download complex embeddings from this link.
  • Classify all the instances taken from the standard benchmark created by [Raganato et al. 2017].
    python3 QWSD.py TestX9c.bin Evaluation_Datasets/ALL/ALL.data.xml > Test
  • Evaluate the results:
    bash ./ScoreAll.sh Test

If you find this code useful in your research, please cite:

@inproceedings{Tamburini:2019:RANLP,
  author    = {Fabio Tamburini},
  editor    = {Ruslan Mitkov and
               Galia Angelova},
  title     = {A Quantum-Like Approach to Word Sense Disambiguation},
  booktitle = {Proceedings of the International Conference on Recent Advances in
               Natural Language Processing, {RANLP} 2019, Varna, Bulgaria, September
               2-4, 2019},
  pages     = {1176--1185},
  publisher = {{INCOMA} Ltd.},
  year      = {2019},
  url       = {https://doi.org/10.26615/978-954-452-056-4\_135},
  doi       = {10.26615/978-954-452-056-4\_135},
}

In case of problems contact me at [email protected].

qwsd's People

Contributors

ftamburin avatar

Stargazers

Frankie Robertson avatar Millie 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.