Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add mentions command to show text for each label #47

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

mikix
Copy link
Contributor

@mikix mikix commented Jun 25, 2024

This allows you to see the actual text used for each label, broken out by annotator and chart.

I also changed the order of the labels output to put the Label column before the Chart Count column, since for my brain at least, the Label is more "upstream" of the Chart Count, which is derived information from the label.

Similarly, the new mentions command puts Mentions before Label, since the Label is derived information from the mention.

Fixes #39

Checklist

  • Consider if documentation (like in docs/) needs to be updated
  • Consider if tests should be added

This allows you to see the actual text used for each label, broken out
by annotator and chart.

I also changed the order of the `labels` output to put the Label column
before the Chart Count column, since for my brain at least, the Label
is more "upstream" of the Chart Count, which is derived information
from the label.

Similarly, the new mentions command puts Mentions before Label, since
the Label is derived information from the mention.
Comment on lines +90 to +91
{"value": {"text": "Cute Li🦁n", "labels": ["Cat"]}},
{"value": {"text": "Multi\nLine-on", "labels": ["Cat"]}},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

someone's got pun energy

@mikix mikix merged commit a8d9848 into main Jun 25, 2024
2 checks passed
@mikix mikix deleted the mikix/mentions branch June 25, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider adding a way to export Label Studio labels
2 participants