-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #265 from Living-with-machines/261-update-docs-lic…
…ense Update documentation and license
- Loading branch information
Showing
23 changed files
with
1,654 additions
and
1,219 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
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
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,51 @@ | ||
Experiments and evaluation | ||
========================== | ||
|
||
Follow these steps to reproduce the experiments in our paper. | ||
|
||
1. Obtain the external resources | ||
-------------------------------- | ||
|
||
Follow the instructions in the ":doc:`resources`" page in the documentation | ||
to obtain the resources required for running the experiments. | ||
|
||
2. Preparing the data | ||
------------------------- | ||
|
||
To create the datasets that we use in the experiments presented in the paper, | ||
run the following command from the ``./experiments/`` folder: | ||
|
||
.. code-block:: bash | ||
$ python ./prepare_data.py | ||
This script takes care of downloading the LwM and HIPE datasets and format them | ||
as needed in the experiments. | ||
|
||
3. Running the experiments | ||
-------------------------- | ||
|
||
To run the experiments, run the following script from the ``./experiments/`` | ||
folder: | ||
|
||
.. code-block:: bash | ||
$ python ./toponym_resolution.py | ||
This script does runs for all different scenarios reported in the experiments in | ||
the paper. | ||
|
||
4. Evaluate | ||
----------- | ||
|
||
To evaluate the different approaches and obtain a table with results such as the | ||
one provided in the paper, go to the ``./evaluation/`` directory. There, you | ||
should clone the `HIPE scorer <https://github.com/hipe-eval/HIPE-scorer>`_. We | ||
are using the code version at commit ``50dff4e``, and have added the line | ||
``return eval_stats`` at the end of the ``get_results()`` function. From | ||
``./evaluation/``, run the following script to obtain the results in latex | ||
format: | ||
|
||
.. code-block:: bash | ||
$ python display_results.py |
Oops, something went wrong.