Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.13 KB

File metadata and controls

44 lines (30 loc) · 1.13 KB

subword-tooltip

Display a list of subwords as a phrase and get the hovered index and hovered subword

image
Recording-20260406_175313.mp4

Try it here (no installation required): subword-tooltip-app

Installation

pip install subword-tooltip

or with uv:

uv add subword-tooltip

Development

We recommend using uv for development. It will automatically manage virtual environments and dependencies for you.

uv run jupyter lab example.ipynb

Alternatively, create and manage your own virtual environment:

python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
jupyter lab example.ipynb

Open example.ipynb in JupyterLab, VS Code, or your favorite editor to start developing. Changes made in src/subword_tooltip/static/ will be reflected in the notebook.