logo


pigeon


<p>Sometimes you want to add labels to a dataset. There are plenty of great labelling tools out there but sometimes you only need something simple from Jupyter. If that sounds familiar you'll want to check out <a href="https://github.com/agermanidis/pigeon">pigeon</a>.</p>


1 - Introduction
2 - Images
3 - DataFrames
4 - Settings

Make sure that pigeon is installed first.

pip install pigeon-jupyter

Be mindful that you'll preferably want to install this in a modern Jupyter environment. To start annotating you can run the code below.

from pigeon import annotate

sentiment_examples = ['I like this', 'I do not like this', 'This is great']
# The annotations can be retreived from the assigned variable.
annotations = annotate(sentiment_examples, options=["positive", "negative"])