@bubblesjs/vue-annotation
A Vue 3 text annotation component for NLP tasks, supporting entity labeling and relation annotation with an intuitive visual interface.
Features
- 🏷️ Entity Annotation: Mark and label text spans with customizable entity types
- 🔗 Relation Annotation: Create relationships between entities
- 🌍 RTL Support: Right-to-left text direction support
- 🎨 Customizable Labels: Define your own entity and relation label types
- 📱 Touch Support: Works on both desktop and mobile devices
- 🌙 Dark Mode: Built-in dark theme support
Installation
Quick Start
Basic Usage
With Relations
Props
Events
Type Definitions
Advanced Usage
Dark Mode
RTL Support (Arabic, Hebrew, etc.)
Handle Unicode Correctly
The graphemeMode prop ensures proper handling of complex Unicode characters like emojis:
Use Cases
- Named Entity Recognition (NER) annotation
- Text classification labeling
- Relation extraction annotation
- Sentiment analysis annotation
- Document annotation for machine learning