Skip to content

NLP to understand the sentiment in the latest news articles featuring Bitcoin and Ethereum, and to better understand the other factors involved with the coin prices change such as common words and phrases and organizations and entities mentioned in the articles.

Notifications You must be signed in to change notification settings

SashaFlores/NLP_Tales_from_the_Crypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Tales from the Crypto

Stock Sentiment

Background

There's been a lot of hype in the news lately about cryptocurrency, so you want to take 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.

In this assignment, you will apply natural language processing to understand the sentiment in the latest news articles featuring Bitcoin and Ethereum. You will also apply 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.

Complete the following tasks:

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

Files

Starter Notebook


Instructions

Sentiment Analysis

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

Use descriptive statistics to answer the following questions:

Which coin had the highest mean positive score?

Which coin had the highest negative score?

Which coin had the highest positive score?

Natural Language Processing

In this section, you will use NLTK and Python to tokenize the text for each coin. Be sure to:

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

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

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

Finally, generate word clouds for each coin to summarize the news for each coin.

btc-word-cloud.png

eth-word-cloud.png

Named Entity Recognition

In this section, you will build a named entity recognition model for both coins and visualize the tags using SpaCy.

btc-ner.png

eth-ner.png


Resources

Vader Sentiment Analysis


About

NLP to understand the sentiment in the latest news articles featuring Bitcoin and Ethereum, and to better understand the other factors involved with the coin prices change such as common words and phrases and organizations and entities mentioned in the articles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published