Instructions to the participants before the session

Registration and Download

  • Download sample data from http://bit.ly/3Pr9HG5
  • Ensure that you have NLP-Sentiment-Analysis-in-Trading.pdf before the session begins
  • All notebooks are present notebooks.zip folder
  • All notebooks in HTML format are present notebooks-in-html.zip folder
  • Register at https://developers.refinitiv.com/
  • Register at https://permid.org/ and have the API key ready before the session. We will be using the API key for the PermID demo and Intelligent Tagging Demo
  • The session would aim to cover most of the content mentioned in the slide deck. If time permits, a few additional aspects related to Sentiment analysis would also be discussed.

Python environment

One can install the relevant python environment via any of the following options:

Option 1: using yml file

Install the relevant packages mentioned in the environment.yml file

Option 2:

Create a virtual environment qi-nlp

conda create --name qi-nlp python=3
conda install -c anaconda requests --name qi-nlp -y
conda install -c anaconda pandas --name qi-nlp -y
conda install ipykernel --name qi-nlp -y
conda install -c conda-forge rdflib --name qi-nlp -y
conda install -c anaconda scikit-learn --name qi-nlp -y
conda install -c conda-forge statsmodels --name qi-nlp -y
conda install -c conda-forge matplotlib --name qi-nlp -y
conda install -c plotly plotly=5.11.0 --name qi-nlp -y
conda install -c conda-forge nbformat --name qi-nlp -y

Install spacy and the relevant language model

conda activate qi-nlp
conda install -c conda-forge spacy -y
python -m spacy download en_core_web_lg