Commit 7a68bc45 authored by Victor Zimmermann's avatar Victor Zimmermann
Browse files

Merge branch 'master' of gitlab.cl.uni-heidelberg.de:zimmermann/absinth

parents f311c672 a9644455
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ Download the evaluator and dataset from the task page and place them in the appr

https://www.cs.york.ac.uk/semeval-2013/task11/index.php%3Fid=data.html

If you choose to use our installer (setup.sh), make sure Python 3.6 is installed, as it may not work with older versions.
If you choose to use our installer (`setup.sh`), make sure Python 3.6 is installed, as it may not work with older versions.


### Installing
@@ -29,14 +29,14 @@ Change to source directory.
$ cd absinth/src
```

Run setup.sh. This installs mandatory modules and creates folders for
Run `setup.sh`. This installs mandatory modules and creates folders for
temporary output.

```
$ bash setup.sh
```

Specify paths and (if appropriate) other variables for our system.
Specify paths and (if appropriate) other variables for our system within `config.py`.

```
$ emacs config.py
@@ -50,7 +50,7 @@ Activate the virtual environment with your dependencies.
$ source absinth_env/bin/activate
```

Run absinth without modifiers to use the dataset path and with '-t' for the trial path.
Run `absinth.py` without modifiers to use the dataset path and with '-t' for the trial path.

```
$ python3 absinth.py
@@ -68,7 +68,7 @@ $ python3 absinth.py -p 4
```

Absinth produces individual clustering files for every target. To merge the 
output files, simple call merge.py. The resulting output for the WSI-evaluator
output files, simple call `merge.py`. The resulting output for the WSI-evaluator
is placed in the 'absinth/src/final' directory.

```
@@ -80,14 +80,14 @@ wish to replace manually.

## Baseline

Our baseline 'abstinent.py' works in much the same way as absinth.py. Not all
variables in config.py are supported in our baseline though.
Our baseline `abstinent.py` works in much the same way as `absinth.py`. Not all
variables in `config.py` are supported in our baseline though.

```
$ python3 abstinent.py -t -p 3
```

To merge the abstinent.py output, simply put the '-bl' modifier behind merge.py:
To merge the ``abstinent.py` output, simply put the '-bl' modifier behind `merge.py`:

```
$ python3 merge.py -bl