Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 609 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 609 Bytes

Emotional Embedding

This is the code used in the paper: "Emotional Embeddings: Refining Word Embeddings to Capture Emotional Content of Words" designed to incorporate emotional constraint into pre-trained word embeddings.

How to run

After downloading/cloning the code, put the pre-trained vectors file in "./vectors/" and run the embedding.py. it requires numpy to be installed.

$python embedding.py

Citation:

Seyeditabari, A., Tabari, N., Gholizadeh, S., & Zadrozny, W. (2019). Emotional Embeddings: Refining Word Embeddings to Capture Emotional Content of Words. arXiv preprint arXiv:1906.00112.