Skip to content

alonsosilvaallende/subword-tooltip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.