"CILex: An Investigation of Context Information for Lexical Substitution Methods ", In Proceedings of the 29th International Conference on Computational Linguistics, 2022
Sandaru Seneviratne, Elena Daskalaki, Artem Lenskiy, Hanna Suominen
- Install requirements
pip install -r requirements.txt
- Go to configs/subst_generators/lexsub/ (You can find the scripts for cilex1,cilex2, and cilex3 in there)
- Correctly define the paths of the files.
- Run the required file.
Results of the substitution generation are presented in the following table.
Results of the candidate ranking are presented in the following table.
Results of the ablation study are presented in the following table.
If you use our work, please cite our paper:
@inproceedings{seneviratne2022cilex,
title={CILex: An Investigation of Context Information for Lexical Substitution Methods},
author={Seneviratne, Sandaru and Daskalaki, Elena and Lenskiy, Artem and Suominen, Hanna},
booktitle={Proceedings of the 29th International Conference on Computational Linguistics},
pages={4124--4135},
year={2022}
}
The implementation of CILex relies on resources from XLNet+embs and LexSubCon and we thank the authors for their support.
The code is implemented using PyTorch.