amaiya/causalnlp
CausalNLP is a practical toolkit for causal inference with text as treatment, outcome, or "controlled-for" variable.
This tool helps researchers, analysts, and data scientists understand cause-and-effect relationships from their data, especially when text is involved. You input a dataset containing text (like reviews or social media posts) along with other numerical or categorical variables, and it helps you determine the causal impact of a specific factor on an outcome. For example, it can tell you if positive reviews cause an increase in product clicks.
157 stars. Used by 1 other package. No commits in the last 6 months. Available on PyPI.
Use this if you need to measure the true impact of a decision, policy, or marketing campaign and your data includes unstructured text alongside traditional numbers.
Not ideal if you are only looking for correlations or simple predictive models without needing to establish causality, or if your primary focus is on deep learning text generation or complex linguistic analysis.
Stars
157
Forks
11
Language
Jupyter Notebook
License
Apache-2.0
Category
Last pushed
Feb 06, 2025
Commits (30d)
0
Dependencies
15
Reverse dependents
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/amaiya/causalnlp"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
prateekguptaiiitk/Causal_Relation_Extraction
Causal Relation Extraction and Identification using Conditional Random Fields
causaltext/causal-text-papers
Curated research at the intersection of causal inference and natural language processing.
tanfiona/CausalNewsCorpus
Repository for Causal News Corpus (LREC 2022) and RECESS (IJCNLP-AACL 2023)
debjitpaul/Causal_CoT
About The corresponding code from our paper " Making Reasoning Matter: Measuring and Improving...
zzz47zzz/CFNER
[EMNLP2022] Released code for paper "Distilling Causal Effect from Miscellaneous Other-Class for...