Named Entity Recognition (NER) Streamlit App using rule-based techniques and a pre-trained spaCy model.
-
Install Dependencies: Ensure you have the necessary libraries installed. Use the following command:
pip install streamlit spacy nltk
python
import nltk
nltk.download('punkt')
nltk.download('averaged_perceptron_tagger')
nltk.download('maxent_ne_chunker')
nltk.download('words') -
Download the English model: Download the English model from spaCy using the following command:
python -m spacy download en_core_web_sm
-
Run Streamlit app: Execute the app with the command:
streamlit run ner_app.py