Editing Sentences

No need to click 'save', all changes are synced in real time.

Overview

The editor interface has a lefthand sidebar. On the right, from top to bottom, is the current sentence; the dependency tree and a toolbar of actions.

The sidebar is the dark blue area on the left. Use the breadcrumbs at the top to navigate home and view all your treebanks. If you decide to stay, here's what the sidebar can help you with:

Treebank Name

Click on the name to begin editing it; hit enter and your changes are saved instantly.

Sentences

Immediately below the treebank name is a list of all the sentences in the current treebank. Click one to view it.

New Sentence

When you click the yellow 'New Sentence' button, you will be asked to type in a sentence. This will then be added to the treebank and loaded up ready for you to begin annotating.

Help

If you get stuck, click 'Help' in the bottom left.

Settings

Sharing a Treebank

Under Settings, you can share your treebank with others. Make sure they have signed up to Pine first and then simply enter their email. For now, any users you add will become 'viewers'. This means they can see, but not edit, all the treebank data. Changes are synced in realtime so you can, for instance, make joint decisions with a colleague; they will see every edit you make as you make it.

Relation Labels

Imagine this: you've annotated 1000 sentences and realise you misspelled one of the relation labels at the very beginning. You now have 1000 determiners labelled 'de' instead of 'det'. With Pine, this is no problem. You can globally rename all your relation labels instantly in the Settings pane.

Delete

If you get tired of your treebank, you can delete it under Settings.

Sentence

The sentence you are currently editing is shown along the top of the screen. It's scrollable, so long sentences aren't a problem!

Each word is colour coded to match the words in the tree and, when editing a word in the tree, the same word is highlighted in the sentence.

Moving Words

To change the word order of the sentence, simply drag and drop.

Creating New Words

To add a new word, hit the plus sign '+' at the end of the sentence. New words are added to the tree, under the root node.

Tree

By default, sentences are displayed as dependency trees. If you're more used to the arrow notation, click the blue Display Mode button in the toolbar.

The artificial root is shown at the top of the tree.

Words

Words are displayed colour-coded according to their universal part-of-speech (UPOS) tag. Click on a word to edit its:

  • form/inflection (how it appears in the sentence)
  • lemma (the root or stem form of the word)
  • UPOS tag
  • XPOS tag (language specific part-of-speech tag)

To delete a word, hover over it and then click the 'x' that appears to the top-left - don't worry you can always undo this.

Relations

Relations are shown as grey lines between words. Clicking the circle along the line will select that relation. You can click on multiple circles to select multiple relations. With relations selected, clicking on a word (or the artificial root) will move all those relations to point to the clicked word.

You will see an error message if your edit breaks dependency grammar rules. For instance, if you try to relate a word to itself or one of its descendants.

Toolbar

The toolbar is the row of circular buttons along the bottom right. From left to right these are:

Display mode

The bright blue button switches between tree and arrow notation.

Note: Relations can only be edited in tree notation.

Undo/Redo

The two arrows undo (left) and redo (right) the previous edit.

Pro tip: You can use the keyboard shortcuts command/control Z and Y to undo and redo.

Zoom

The + and - zoom in and out.

Frequently Asked Questions

How do I change the root word?

Find the word you would like to mark as the root, select its parent relation, and then select the artificial root at the top of the tree. The current root word will become a descendent of the new root.

How do I swap the position of one word and its parent?

Like this:

results matching ""

    No results matching ""