There's been a lot of hype in the news lately about cryptocurrency, so I 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. I will apply natural language processing to understand the sentiment in the latest news articles featuring Bitcoin and Ethereum. I 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.
- Vader Sentiment Analysis
- Python
- NLK library
- NER
- SpaCY library
- News API Client
- Pandas
Sentiment Analysis Natural Language Processing Named Entity Recognition
I will be using the newsapi to pull the latest news articles for Bitcoin and Ethereum and create a DataFrame of sentiment scores for each coin. I will 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?
In this section, I will use NLTK and Python to tokenize the text for each coin.
- I will look at the ngrams and word frequency for each coin.
- Use NLTK to produce the ngrams for N = 2.
- List the top 10 words for each coin.
- Generate word clouds for each coin to summarize the news for each coin.
Q: Which coin had the highest mean positive score?
Q: Which coin had the highest compound score?
Q. Which coin had the highest positive score?