The notebooks in this directory go through an example market intelligence use case involving Text Extensions for Pandas, IBM Watson Natural Language Understanding, SpaCy, and Ray.
The use case is broken down as follows:
- Market_Intelligence_Part1.ipynb: Use Text Extensions for Pandas and Watson Natural Language Understanding to identify executives quoted by name in IBM press releases.
- Market_Intelligence_Part2.ipynb: Use Text Extensions for Pandas and the SpaCy dependency parser to extract the titles of the executives we found in part 1.
Steps to run the notebooks in this directory
-
Follow the instructions in the top level README file for setting up a Python environment for running Jupyter notebooks in this project.
-
Activate your Python environment and install the SpaCy dependency parser model (required for Part 2) by running the command:
python -m spacy download en_core_web_trf
-
Create a free instance of Watson Natural Language Understanding by visiting this page and clicking on the "Get started free" button.
-
Set the following environment variables:
IBM_API_KEY
: The API key for your Natural Language Understanding instanceIBM_SERVICE_URL
: The service URL for your Natural Language Understanding instance
-
Type
jupyter lab
to start JupyterLab, navigate to this directory, and run the notebook of your choice.