Skip to content

Sentiment Analysis and Natural Language Processing for Bitcoin and Ethereum.

License

Notifications You must be signed in to change notification settings

mostafajoma/Natural-Language-Processing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Natural-Language-Processing

Sentiment Analysis and Natural Language Processing for Bitcoin and Ethereum

Stock Sentiment

Background

There's been a lot of hype in the news lately about cryptocurrency, so I took a stock, so to speak, of the latest news headlines regarding Bitcoin and Ethereum to get a better feel for the current public sentiment around each coin.

I applied natural language processing to understand the sentiment in the latest news articles featuring Bitcoin and Ethereum. I also applied fundamental NLP techniques to better understand the other factors involved with the coin prices such as common words and phrases and organizations and entities mentioned in the articles.

Completed tasks:

  1. Sentiment Analysis
  2. Natural Language Processing
  3. Named Entity Recognition

Prerequisites

os

pandas

newsapi

nltk.sentiment.vader

Sentiment Analysis

Used the newsapi to pull the latest news articles for Bitcoin and Ethereum and create a DataFrame of sentiment scores for each coin.

bitcoin-news

etherum-news

Natural Language Processing

In this section, I used NLTK and Python to tokenize the text for each coin, and :

  1. Lowercase each word
  2. Remove punctuation
  3. Remove stop words

token token

Next, looked at the ngrams and word frequency for each coin.

  1. Used NLTK to produce the ngrams for N = 2.
  2. Listed the top 10 words for each coin.

count count

Finally, generated word clouds for each coin to summarize the news for each coin. world-cloud world-cloud

About

Sentiment Analysis and Natural Language Processing for Bitcoin and Ethereum.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published