Giter Club home page Giter Club logo

ntunlplab / finance-ntusd-fin Goto Github PK

View Code? Open in Web Editor NEW
4.0 0.0 2.0 23.71 MB

NTUSD-Fin provides various scoring methods including frequency, CFIDF, chi-squared value, market sentiment score and word vector for the tokens. Only the tokens appeared at least ten times and shown significantly difference between expected and observed frequency with chi-squared test are remained in our dictionary. The predetermined significance level is 0.05. The market sentiment score is calculated by substracting the bearish PMI from the bullish PMI. There are 8,331 words, 112 hashtags and 115 emojis in the constructed dictionary, NTUSD-Fin.

finance-ntusd-fin's Introduction

NTUSD-Fin: A Market Sentiment Dictionary for Financial Social Media Data Applications

Introduction

NTUSD-Fin provides various scoring methods including frequency, CFIDF, chi-squared value, market sentiment score and word vector for the tokens. Only the tokens appeared at least ten times and shown significantly difference between expected and observed frequency with chi-squared test are remained in our dictionary. The predetermined significance level is 0.05. The market sentiment score is calculated by substracting the bearish PMI from the bullish PMI. There are 8,331 words, 112 hashtags and 115 emojis in the constructed dictionary, NTUSD-Fin.

Format

There are 8 parts for each token (word, hashtag, or emoji), and they are saved in json format.

“token”: word, hashtag, or emoji “bull_freq”: frequency in bullish set. “bear_freq”: frequency in bearish set “bull_cfidf”: collection frequency in bullish set. “bear_cfidf”: collection frequency in bearish set. “chi_squared”: chi squared test result of the token. “market_sentiment”: calculated by bullish PMI minus bearish PMI. “word_vec”: 300-dimension word vector.

Example

{

'token': 'buy',

'bull_freq': 14489,

'bear_freq': 1592,

'bull_cfidf': 61.539806954702385,

'bear_cfidf': 52.32250663139482,

'chi_squared': 14711.705215251208,

'market_sentiment': 0.5961743093876137,

'word_vec': [0.0928284227848053, -0.10893399268388748, 0.12348346412181854, … , -0.01443735882639885]

}

Data

Download NTUSD-Fin.zip for the data.

How to Cite the Corpus

Please cite the following paper when referring to the NTUSD-Fin in academic publications and papers.

Chung-Chi Chen, Hen-Hsen Huang and Hsin-Hsi Chen. 2018. NTUSD-Fin: A Market Sentiment Dictionary for Financial Social Media Data Applications. In Proceedings of the 1st Financial Narrative Processing Workshop, 7 May 2018, Miyazaki, Japan.

License

NTUSD-Fin is licensed under the Creative Commons Attribution-Non-Commercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license.

finance-ntusd-fin's People

Contributors

pcchen-ntunlp avatar wlchen0206 avatar

Stargazers

 avatar  avatar  avatar Sohom Ghosh avatar

finance-ntusd-fin's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.