Identify Stocks on Reddit with SpaCy (NER in Python)
James Briggs
Posted on March 15, 2021
We will learn how to process unstructured text data from Reddit and extract organization names so that any further analysis is automatically classified and results assigned to the correct stocks.
Organizations are mentioned in each subreddit in a variety of formats. Typically we will find two formats:
- Organization name, eg Tesla/Tesla Motors
- Ticker symbol, eg TSLA, tsla, or $TSLA
We also need to be able to differentiate between tickers and other abbreviations/slang -some of these are unclear like AI (AI can mean both artificial intelligence and refer to the ticker symbol for C3.ai).
So, we need a reasonable competent NER process to accurately classify our data.
💖 💪 🙅 🚩
James Briggs
Posted on March 15, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
python Machine Learning journey : Day 4 (Python | Descriptive Statistics | Case Study)
January 13, 2021