Welcome to CLTK (Creative Language Toolkit), an open source project that provides a one-stop toolkit for creative language processing.
CLTK offers a comprehensive API for accessing creative language datasets and includes pre-trained models for creative language detection, interpretation, and generation. This projects includes metaphors, sarcasm, irony, simile, idiom and more types of creative language.
We collect available data resources for creative language processing and format them as Huggingface Datasets, so that you can access and use them directly via Huggingface Hub.
Now CLTK has collected the following datasets:
Metaphor:
- VUA20 (FigLang@ACL 2020)
- TroFi (EACL 2006)
- MOH (SEM 2016)
- Chinese_Metaphor_Corpus (CMC, COLING 2022)
- UKP_Novel_Metaphor (EMNLP 2018)
Humor:
Simile:
Irony:
Sarcasm:
Tongue Twister
Pun
Open an issue if you hope any dataset to be included in CLTK.
Metaphor Detection: FrameBERT (EACL 2023).
We welcome contributions from the community! Join our discord server (to be created soon...) or open an issue to join the discussion.
CLTK is open source and is released under the MIT License.
If you have any questions, open an issue or email me directly.