Skip to content

experimental annotation framework for phrase level annotation

License

Notifications You must be signed in to change notification settings

atharva-naik/XNLI-annotator

Repository files navigation

XNLI-annotator

experimental annotation framework for phrase level annotation

Built using Flask, sqlite3, bootstrap and Javascript.

Requirements:

python version >= 3.6 recommended
This package requires flask

Installation:

git clone http://github.com/atharva-naik/XNLI-annotator

Instructions:

Please follow the steps below for annotation:

Register

Create a new user by clicking on the Create button on the New User tile, shown below, to keep track of your annotations. Immediately after creating your user you will be guided to the main annotation page.

Login Page

If you are already registered just click on the tile corresponding to your username and you will be guided to a login screen as shown below.

Main Annotation Page

How to use the main annotation page:

  1. Phrase annotator: Just select a span of text and pick the label from ("Entail","Contradict","Neutral","Unaligned"). Clear P, Clear H can be used t o clear all marked phrases in the premise and hypothesis resepectively. Clear an be used to clear annotations form the selected span. Clear All clears all annotations. Press save to save the annotation.
  2. Bookmarking: Save a particular annotation that you are doubtful about for later review.
  3. Navigate: Guides you to the navigation page.
  4. Meaning: Select a word you, whose meaning you are unsure about. Click the button below, and the meaning will be shown in the "Meaning of selected word" area below.
  5. Annotation sidebar: It shows the annotation that is currently saved on the server. It can be used to logout, open dashboard and view bookmarked annotations.
  6. Instructions: Click on the ⓘ to view these instructions.

Navigation Pane

The navigation pane shows "Pending" or "Complete" beside each sentence-pair/sample. Use it to get a bird's eye view of your progress.

Bookmarking

The bookmarked section can be used to revisit annotations you are unsure about.

Annotation dashboard
  1. Leaderboard: learn about the progress of your co-annotators, and how much progress you haved made.
  2. Label distribution and other statistics: Total number of annotators, how many annotations you have finished, inter-annotator agreement and pertinent dataset statistics are shown here.
  3. Export feature: export a jsonl file which is easy to read for both you and your computer (for processing and cleaning).

About

experimental annotation framework for phrase level annotation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published