SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2204.11714 · 2022

The Causal News Corpus: Annotating Causal Relations in Event Sentences from News

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 15 functions out of this paper's own repositories and ran 15 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
tanfiona/causalnewscorpus canonical 15 of 15
FunctionStatusWhere it lives
clean_tok Ran tanfiona/causalnewscorpus/run_st2.py
code served (permissive licence) · get_code("17953e908ecafaca")
flatten Ran tanfiona/causalnewscorpus/curation/subtask2.py
code served (permissive licence) · get_code("e3f17b0f2e9f8c37")
get_BIO Ran tanfiona/causalnewscorpus/src/format_st2.py
code served (permissive licence) · get_code("debc140d2d23155e")
get_BIO_sig Ran tanfiona/causalnewscorpus/src/format_st2.py
code served (permissive licence) · get_code("63b134c7f31a0fbd")
get_CE_bounds Ran tanfiona/causalnewscorpus/run_st2.py
code served (permissive licence) · get_code("e60c8154881f51c0")
get_combinations Ran tanfiona/causalnewscorpus/curation/subtask2.py
code served (permissive licence) · get_code("2404dcb4ab95c45d")
get_eval_results Ran tanfiona/causalnewscorpus/lstm_experiment.py
code served (permissive licence) · get_code("852ff0d1fcb5dd16")
get_random_ce_pred Ran tanfiona/causalnewscorpus/random_st2.py
code served (permissive licence) · get_code("1c8d6fb964cbc3b9")
get_random_sig_pred Ran tanfiona/causalnewscorpus/random_st2.py
code served (permissive licence) · get_code("fa89fc65df9fb5f8")
get_union Ran tanfiona/causalnewscorpus/curation/kAlpha.py
code served (permissive licence) · get_code("923bc1206288b268")
merge_multi_spaces Ran tanfiona/causalnewscorpus/run_st2.py
code served (permissive licence) · get_code("39cfb71e9e79178f")
organize_data Ran tanfiona/causalnewscorpus/curation/kAlpha.py
code served (permissive licence) · get_code("19b62bbe052deb2b")
random_choice_incr_probability Ran tanfiona/causalnewscorpus/random_st2.py
code served (permissive licence) · get_code("340406cecfaaa356")
sorted_nicely Ran tanfiona/causalnewscorpus/curation/kAlpha.py
code served (permissive licence) · get_code("a29154a26ced8064")
sum_all_scores Ran tanfiona/causalnewscorpus/curation/subtask2.py
code served (permissive licence) · get_code("bb33d0bff1d341f2")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Despite the importance of understanding causality, corpora addressing causal relations are limited. There is a discrepancy between existing annotation guidelines of event causality and conventional causality corpora that focus more on linguistics. Many guidelines restrict themselves to include only explicit relations or clause-based arguments. Therefore, we propose an annotation schema for event causality that addresses these concerns. We annotated 3,559 event sentences from protest event news with labels on whether it contains causal relations or not. Our corpus is known as the Causal News Corpus (CNC). A neural network built upon a state-of-the-art pre-trained language model performed well with 81.20% F1 score on test set, and 83.46% in 5-folds cross-validation. CNC is transferable across two external corpora: CausalTimeBank (CTB) and Penn Discourse Treebank (PDTB). Leveraging each of these external datasets for training, we achieved up to approximately 64% F1 on the CNC test set without additional fine-tuning. CNC also served as an effective training and pre-training dataset for the two external corpora. Lastly, we demonstrate the difficulty of our task to the layman in a crowd-sourced annotation exercise. Our annotated corpus is publicly available, providing a valuable resource for causal text mining researchers.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2204.11714")
get_code_for_paper("2204.11714")
have("2204.11714")

Connect an agent — have() is free.