--- # license: cc-by-4.0 # TODO: verify — http://hlt-nlp.fbk.eu/technologies/causal-timebank task_categories: - text-classification language: - en multilinguality: - monolingual size_categories: - 1K [!NOTE] > This repository integrates the CausalTimeBank (CTB) corpus into hf datasets. Please find the original dataset > [here](http://hlt-nlp.fbk.eu/technologies/causal-timebank). We used the [UniCausal](https://github.com/tanfiona/UniCausal/tree/main/data/splits) reformatting of the data as the basis > for this repository. Please see the [citations](#citations) at the end of this README. ## Dataset Description - **Homepage:** http://hlt-nlp.fbk.eu/technologies/causal-timebank - **Paper:** [An Analysis of Causality between Events and its Relation to Temporal Information](https://aclanthology.org/C14-1196) # Usage ## Causality Detection ```py from datasets import load_dataset dataset = load_dataset("thagen/CausalTimeBank", "causality detection") ``` ## Causality Identification ```py from datasets import load_dataset dataset = load_dataset("thagen/CausalTimeBank", "causality identification") ``` # Citations The CausalTimeBank paper by [Mirza et al., 2014](https://aclanthology.org/W14-0702): ```bib @inproceedings{mirza:2014a, title = {Annotating {{Causality}} in the {{TempEval-3 Corpus}}}, booktitle = {Proceedings of the {{EACL}} 2014 {{Workshop}} on {{Computational Approaches}} to {{Causality}} in {{Language}} ({{CAtoCL}})}, author = {Mirza, Paramita and Sprugnoli, Rachele and Tonelli, Sara and Speranza, Manuela}, editor = {Kolomiyets, Oleksandr and Moens, Marie-Francine and Palmer, Martha and Pustejovsky, James and Bethard, Steven}, year = {2014}, month = apr, pages = {10--19}, publisher = {Association for Computational Linguistics}, address = {Gothenburg, Sweden}, doi = {10.3115/v1/W14-0702} } ``` UniCausal by [Tan et al., 2023](https://link.springer.com/chapter/10.1007/978-3-031-39831-5_23) — who's dataformat we used to make CTB compatible with hf datasets: ```bib @inproceedings{tan:2023, title = {{{UniCausal}}: {{Unified Benchmark}} and {{Repository}} for {{Causal Text Mining}}}, shorttitle = {{{UniCausal}}}, booktitle = {Big {{Data Analytics}} and {{Knowledge Discovery}} - 25th {{International Conference}}, {{DaWaK}} 2023, {{Penang}}, {{Malaysia}}, {{August}} 28-30, 2023, {{Proceedings}}}, author = {Tan, Fiona Anting and Zuo, Xinyu and Ng, See-Kiong}, editor = {Wrembel, Robert and Gamper, Johann and Kotsis, Gabriele and Tjoa, A. Min and Khalil, Ismail}, year = {2023}, series = {Lecture {{Notes}} in {{Computer Science}}}, volume = {14148}, pages = {248--262}, publisher = {Springer}, doi = {10.1007/978-3-031-39831-5_23} } ```