Skip to content

nlply/EACL2023-QE-Features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EACL2023-QE-Features

Code for the paper Mining Effective Features Using Quantum Entropy for Humor Recognition for EACL 2023.

You need to download the glove.6B.50d.txt file from https://nlp.stanford.edu/projects/glove/ and put it under the project.

Running train.py will give you the dataset_features.csv file, run the script as follows:

python train.py --dataset dataset.csv --word_embedding glove.6B.50d.txt --features dataset_features.csv

Running cross_validation.py for cross-validation, run the script as follows:

python cross_validation.py --dataset dataset.csv --word_embedding glove.6B.50d.txt --features dataset_features.csv

If you want boost a content-based classifier, run the script as follows:

python cross_validation.py --useglove --dataset dataset.csv --word_embedding glove.6B.50d.txt --features dataset_features.csv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages