xxxiaol / gci Goto Github PK
View Code? Open in Web Editor NEWCode for Everything Has a Cause: Leveraging Causal Inference in Legal Text Analysis (NAACL 2021 oral paper)
Code for Everything Has a Cause: Leveraging Causal Inference in Legal Text Analysis (NAACL 2021 oral paper)
The following warning appears when running the gci.py file
WARNING:root:No stemmer available in pke for 'zh' language -> falling back to porter stemmer.
WARNING:root:No stoplist available in pke for 'zh' language.
Without stopword lists and stemmers, what are the subsequent requirements for the dataset this project handles?
I just ran this project in Colab and I got this problem:
File "/content/GCI-main/yake_modified.py", line 97, in candidate_selection
self.candidate_filtering(stoplist=list(string.punctuation), minimum_length=1, minimum_word_size=1)
TypeError: candidate_filtering() got an unexpected keyword argument 'stoplist'
How can I fix it?
ERROR:root:No stemmer available for 'zh' language -> fall back to porter.
Thank you for your amazing work! Could you help me figure out the possible cause of this error. Thx.
I run the version boudinfl/pke@0729bca in colab.
And I get this error:
LookupError: Can't find any language named 'hinglish'
I didn't encounter this problem when use latest PKE. How can I fix it?
How long will it take to 'Run preprocess.py to prepare data for GCI'?
The warning occurs when I run the gci.py.
No stemmer for 'zh' language.
Stemming will not be applied.
pip install javabridge doesn't work:
This is my solution when using pycausal:
install javabridge before pycausal:
sudo apt install openjdk-8-jdk gcc
pip install git+https://github.com/LeeKamentsky/python-javabridge
download pycausal and open setup.py
python setup.py install --user
您好,我想请问一下去哪里下载Py-Causal呀?
如果是这个链接的:https://github.com/bd2kccd/py-causal,
他要求的是python=3.6,而GCI要求的是3.7以上,冲突了。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.