This project is a simple example for NER tagging task in NLP. Based on Natasha library.
You can enter text and get text with tagged entities. Standart named entities are extracted: names, locations, organizations.
The web server is based on Flask framework. By default the application will run on port 5000.
Clone repository:
git clone https://github.com/Nkeramov/ner_analyzer.gitSwitch to repo directory:
cd ner_analyzerCreate and activate virtual environment:
python -m venv .venv
source .venv/bin/activate # Linux/Mac
# or
./venv/Scripts/activate # WindowsInstall dependencies and run:
pip install -r requirements.txt
python main.pyInstall dependencies and create virtual environment automatically:
uv syncRun the project (virtual environment is handled automatically):
uv run python main.pyOr with explicit activation:
source .venv/bin/activate # After uv sync
python main.pyIf you want to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push to your fork and create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.