A Fuzzy Hybrid Multi-class Emotiuon Classification Model using ANFIS with Computational and Lexicon based features.
Please use code/Feature-Extraction.ipynb for the following parts of code.
- Processing
- Feature Engineering
- Feature Selection
- ANFIS Training
- Fuzzy rules and memberships output.
See file bidirectional-lstm-attention.ipynb for the reproduction of the Model propossed here: https://onlinelibrary.wiley.com/doi/full/10.1002/spe.2853 DOI: 10.1002/spe.2853 as mentioned within the supporting paper
Lexicons is an untracked folder - download these zips and put the unzipped folders into the Lexicons/ directory. https://saifmohammad.com/WebDocs/Lexicons/NRC-Emotion-Lexicon.zip https://saifmohammad.com/WebDocs/Lexicons/NRC-Emotion-Intensity-Lexicon.zip https://saifmohammad.com/WebDocs/Lexicons/NRC-VAD-Lexicon.zip
download for gloVe - https://huggingface.co/stanfordnlp/glove/resolve/main/glove.840B.300d.zip and put in the data folder (taken from https://github.com/stanfordnlp/GloVe?tab=readme-ov-file)
download for word2Vec - https://drive.google.com/file/d/0B7XkCwpI5KDYNlNUTTlSS21pQmM/edit?resourcekey=0-wjGZdNAUop6WykTtMip30g and put in the data folder