NERNA is a lightweight tool for annotating named entities directly within Python notebooks, ideal for quick and interactive NER tasks without the need for deployment or external servers.
Project description
NERNA (NER Notebook Annotation)
Follow the official repository: NER-Notebook-Annotation - GitHub
NERNA is a lightweight package designed for Named Entity Recognition (NER) annotation directly within Python notebooks.
Originally intended as a Streamlit-based interface, it has been reworked to run natively inside notebook environments (such as Jupyter, Google Colab, Databricks, etc.). This makes it easier to use without requiring deployment of web applications or cloud server contracts.
Key Features
- ✅ Lightweight, interactive JavaScript interface embedded in notebooks
- ✅ Compatible with local notebooks and cloud platforms (e.g., Colab, Databricks)
- ✅ No need for external servers or deployments
- ⚠️ Annotations are made using JavaScript, so they cannot be accessed directly as Python variables. However, the input to the tool must be a Python list of strings.
Usage Example
from nerna import NERAnnotator
# List of texts to annotate
texts = [
'Brazil won the 2002 World Cup.',
'The planet’s drinking water is running out.'
]
# Initialize annotation
annotator = NERAnnotator(texts)
# Render the interactive annotation interface
annotator.render()
Notes
- Annotated results are not automatically returned to Python. If you need to save or extract annotations, you’ll need to implement a custom mechanism to capture them.
- Ideal for manual review, small-scale labeling tasks, or quick experimentation in NLP workflows.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nerna-0.1.3.tar.gz.
File metadata
- Download URL: nerna-0.1.3.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
672650015a4d763d97a7ee2ebbab45e055e836e0810f2a3b1899b8a3420652d9
|
|
| MD5 |
a641ac37f5fbac18073b5049983bac3a
|
|
| BLAKE2b-256 |
00f98573332ae71099e6f896f3ef608d37fac0133eac9c360f908b47bfe57e31
|
File details
Details for the file nerna-0.1.3-py3-none-any.whl.
File metadata
- Download URL: nerna-0.1.3-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f0a2b659aa6dc3643ad0a987421678f223742bb3eb1e44d259c98df601cec20
|
|
| MD5 |
a6b4a02aa702f0b3222795b30d4a5d96
|
|
| BLAKE2b-256 |
0d7984fd92ccf221d31f5ddc0f9fde56fe887a51f99b3a7dfd914ed38ed48253
|