Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vered1986 authored Feb 15, 2017
1 parent 9a63d0a commit 8e6fba1
Show file tree
Hide file tree
Showing 79 changed files with 355,280 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# OKR: A Consolidated <b>O</b>pen <b>K</b>nowledge <b>R</b>epresentation for Multiple Texts

This is the code used in the paper:

<b>"A Consolidated Open Knowledge Representation for Multiple Texts"</b><br/>
Rachel Wities, Vered Shwartz, Gabriel Stanovsky, Meni Adler, Ori Shapira, Shyam Upadhyay, Dan Roth, Eugenio Martinez Camara, Iryna Gurevych and Ido Dagan. LSDSem 2017. [link](???) (TBD).

The dataset developed for the paper can be found [here](http://u.cs.biu.ac.il/~nlp/resources/downloads/twitter-events/) (TBD).

***

<b>Prerequisites:</b>
* Python 2.7
* numpy
* [bsddb](https://docs.python.org/2/library/bsddb.html)
* spacy

<b>Quick Start:</b>

The repository contains the following directories:
* src - the source files - used to load the OKR graph (common), compute inter-annotator agreement (agreement), and automatically construct the OKR object (baseline_system).
* resources - used by the baseline system.
* data - the annotation files used to compute the inter-annotator agreement (agreement) and the development and test set used in the baseline system (baseline).

## Running the baseline system:

From src/baseline_system: `python compute_baseline_subtasks.py ../../data/dev ../../data/test`

The entailment component requires resources. The entity entailment resource files are found in the resources directory. The predicate entailment file is much larger, and we therefore provide the [script](resources/create_predicate_entailment_resource.py) to build it from the original resource (reverb_local_clsf_all.txt from [here](http://u.cs.biu.ac.il/~nlp/resources/downloads/predicative-entailment-rules-learned-using-local-and-global-algorithms/)).

<b>Detailed description of the OKR object</b>
TBD.
Loading

0 comments on commit 8e6fba1

Please sign in to comment.