-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
79 changed files
with
355,280 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
Oops, something went wrong.