An ELAN Python extension for determining distances between multimodal annotations.
- Clone this repository on your local computer.
- In the command line, go to the repository containing the
multimodal_annotation_distance.py
file. - Create and activate a virtual environment of your preference (e.g., Conda or virtualenv).
- To install the required dependencies, you can use the provided
requirements.txt
file by typingpip install -r requirements.txt
in the command line.
- Activate your Python virtual environment.
- If you haven't done so before, you need to fill in the required values inside the provided
config.ini
file. Take care of not erasing any of them from the file! - To run the program, inside the directory where the
multimodal_annotation_distance.py
file is located, type the following in the command line:python multimodal_annotation_distance.py --config-file-path path/to/config.ini
.
Note that the generated CSV files are not overwritten by the program. I.e., you should not provide the file path and name of an already existing file; otherwise, the results will be added to that file, leading to potentially unwanted data duplicity or data corruption.