Skip to content

cltl/positive-interpretations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scoring and Classifying Positive Interpretations

This repository contains the code for conducting the experiments as reported in the following paper:

C. van Son, R. Morante, L. Aroyo, and P. Vossen. Scoring and Classifying Implicit Positive Interpretations: A Challenge of Class Imbalance. In Proceedings of the 27th International Conference on Computational Linguistics (COLING 2018), Santa Fe, New Mexico, 2018 (to appear).

It scores and classifies the positive interpretations generated from verbal negations in OntoNotes following the approach and evaluated on the dataset as described in the following paper:

E. Blanco and Z. Sarabi. Automatic generation and scoring of positive interpretations from negated statements. In Proceedings of NAACL-HLT, San Diego, CA, pages 1431–1441, 2016.

Requirements

The Jupyter Notebooks in this repository have already been rendered, so that you can inspect the results. Please note, however, that in order to run the code, one has to first obtain the data:

The code has been tested with Python 3.6 and needs the following packages:

  • nltk
  • pandas
  • scipy
  • numpy
  • scikit-learn

Content

The repository contains the following folders:

  • code: contains helper scripts and 4 notebooks for running the experiments
  • data: the required data (see above) should be placed here
  • data_analysis: contains the results of the Data Analysis notebook
  • results: contains the feature files used for training/testing, the predictions and the summarizing tables/figures

The notebooks in the code folder can best be run in the following order:

Contact

Chantal van Son (c.m.van.son@vu.nl / c.m.van.son@gmail.com)

Vrije Universiteit Amsterdam

About

Code (Python 3.6) for automatically scoring and classifying positive interpretations generated from negations in OntoNotes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published