This is a library to detect chiasmi. It is based on the paper "Data-Driven Detection of General Chiasmi Using Lexical and Semantic Features".
Run run.sh
to run the example script.
This script will download the required files and run the model.
- python3
- spacy
- torch
- tqdm
Install them with pip install spacy torch tqdm lxml
If you use virtual env you can directly run these commands:
cd path/to/chiasmus-detector
python3 -m venv chiasmus_env
source chiasmus_env/bin/activate
pip install -r requirements.txt
bash run.sh
If you use this implementation in your work, please cite:
@inproceedings{schneider-etal-2021-data,
title = "Data-Driven Detection of General Chiasmi Using Lexical and Semantic Features",
author = {Schneider, Felix and
Barz, Bj{\"o}rn and
Brandes, Phillip and
Marshall, Sophie and
Denzler, Joachim},
booktitle = "Proceedings of the 5th Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage, Social Sciences, Humanities and Literature",
month = nov,
year = "2021",
address = "Punta Cana, Dominican Republic (online)",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.latechclfl-1.11",
doi = "10.18653/v1/2021.latechclfl-1.11",
pages = "96--100",
}