Skip to content

sandaruSen/CILex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CILex

alt text

"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

How to run the scripts

  1. Install requirements
    pip install -r requirements.txt
  2. Go to configs/subst_generators/lexsub/ (You can find the scripts for cilex1,cilex2, and cilex3 in there)
  3. Correctly define the paths of the files.
  4. Run the required file.

Results

Results of the substitution generation are presented in the following table. alt text

Results of the candidate ranking are presented in the following table. alt text

Results of the ablation study are presented in the following table. alt text

Citation

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}
}

Acknowledgement

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published