You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
StreamSide provides you an open-source framework to annotate meaning representations such as [Abstract Meaning Representation](https://amr.isi.edu) (AMR) or [Widely Interpretable Semantic Representation](https://github.com/emorynlp/wiser) (WISeR) that can be easily customized for any representation in any language.
4
+
This project is led by the [Emory NLP Research Laboratory](http://nlp.cs.emory.edu) and under the [Apache 2.0](https://github.com/emorynlp/StreamSide/blob/master/LICENSE) license.
*`-m` or `--mode`: choose the representation `wisen` (default) or `amr`.
12
12
*`-r` or `--resources`: the path to a custom resource directory; if not specified, it uses the default [resources](../streamside/resources/).
13
13
14
+
> For the following sections, replace the `Ctrl` key with the `Cmd` key if you are using a mac.
14
15
15
-
## Annotate
16
16
17
-
> If you are using a mac, replace the `Ctrl` key with the `Cmd` key .
17
+
## File Menu
18
18
19
-
### Open File
19
+
### Open
20
20
21
21
Press `Ctrl+o` to prompt a file dialog:
22
22
23
-
* For the initial annotation, choose a text file comprising a sentence per line (e.g., [training-examples.txt](training-examples.txt)).
24
-
* For a returning annotation, choose a JSON file that is previously saved (e.g., [training-examples.jdchoi.json](training-examples.jdchoi.json)).
23
+
* For the initial annotation, choose a text file comprising a sentence per line (e.g., [sample-amr.txt](../samples/sample-amr.txt)).
24
+
* For a returning annotation, choose a JSON file that is previously saved (e.g., [sample-amr.jdchoi.json](../samples/sample-amr.jdchoi.json)).
25
+
* If you have an existing annotation in the Penman notation, choose a Penman file (e.g., [sample-amr.penman](../samples/sample-amr.penman)).
25
26
26
-
### Save File
27
+
> StreamSide supports only the following file extensions: `txt`, `json`, `penman`.
28
+
29
+
### Save
27
30
28
31
Press `Ctrl+s` to save the current annotation to the JSON file whose name includes the annotator ID.
29
32
33
+
### Quit
34
+
35
+
Press `Ctrl+q` to quit the annotator.
36
+
37
+
38
+
## Edit Menu
39
+
30
40
### Create Concept
31
41
32
42
Any of the following actions will prompt the input dialog to create a concept:
@@ -76,6 +86,18 @@ Once the input dialog is prompted:
76
86
* To make an inverse relation (`*-of`), press `Ctrl+f` or check the `Inverse` box.
77
87
* Press `Enter` or the `OK` button to create the concept.
78
88
89
+
> The `Referent` box gets automatically checked if (1) the child concept already has another parent concept or (2) if the child concept is an ancestor of the parent concept.
90
+
91
+
### Update
92
+
93
+
To update the name of a concept or an attribute:
94
+
95
+
* Highlight the ID of the concept/attribute and press `Ctrl+f`.
96
+
97
+
To update the label of a relation:
98
+
99
+
* Highlight the label of the relation and press `Ctrl+f`.
100
+
79
101
### Delete
80
102
81
103
To delete a concept or an attribute:
@@ -86,16 +108,13 @@ To delete a relation:
86
108
87
109
* Highlight the label of the relation and press `Ctrl+d`.
88
110
89
-
### Update
90
-
91
-
To update the name of a concept or an attribute:
92
-
93
-
* Highlight the ID of the concept/attribute and press `Ctrl+f`.
111
+
### Add/Remove Text Span
94
112
95
-
To update the label of a relation:
96
-
97
-
* Highlight the label of the relation and press `Ctrl+f`.
113
+
To add/remove certain text spans to an existing concept (or attribute):
98
114
115
+
* Highlight the ID of the concept and press `z` that shows it as well as text spans associated with the concept in a <spanstyle="background-color:burlywood;">burlywood</span> background.
116
+
* Highlight text spans you want to add/remove to/from the concept and press `v`.
117
+
* To deselect the concept/attribute, press `Shift+z`.
0 commit comments