Mallori Harrell 34d563c1fc
feat: Create spacy notebook example (#593)
* add new notebook for spacy
2023-05-17 15:42:15 -05:00

18 lines
690 B
Markdown

# Loading `unstructured` outputs into Spacy
The following example shows how to load `unstructured` outputs into Spacy.
This allows you to perform NLP to find important data from outputs the `unstructured`
library has extracted.
Follow the instructions [here](https://spacy.io/usage)
to install Spacy on your system.
Once you have installed MySQL, you can connect to MySQL with the command `mysql -u root`.
You can create a non-root user and an `unstructured_example` database using the following
commands:
## Running the example
1. Run `pip install -r requirements.txt` to install the Python dependencies.
1. Run `jupyter-notebook to start.
1. Run the `load-into-spacy.ipynb` notebook.