Problem drawing relations between spans in the HTML editor, on an HTML document

24 views
Skip to first unread message

Craig Thomson

unread,
Nov 3, 2023, 10:05:37 AM11/3/23
to inception-users
Hi,

I am trying to setup a simple project where spans of text can be annotated on an HTML document, using the HTML editor, with relation arcs then drawn between the spans.

To do this, I setup a "Basic annotation (span/relation)" project and then imported a set of simple HTML documents, with the most simple being just a sentence within a pair of paragraph tags.

When using the HTML editor, I can create the spans, but no label appears atop them (as in BRAT) which allows me to create a relation by dragging between spans.  When I switch to BRAT, I can create spans as expected, although they do not show on the main annotation pain (but are list in the left hand panel) when I switch back to the HTML annotator.

Are relations supported in the HTML annotator, and if so, how should I configure the project / annotation interface to enable them?

Ultimately I want to annotate between sentences in <p> tags and items in lists and/or tables, so I do need the functionality of the HTML annotator, and the headings and lists do render properly when I use them, it is just the relations that do not work.

Many thanks

Richard Eckart de Castilho

unread,
Nov 3, 2023, 4:27:57 PM11/3/23
to incepti...@googlegroups.com
Hi Craig,

thanks for using INCEpTION. First off: which version are you using?

> On 3. Nov 2023, at 15:05, Craig Thomson <uoan...@gmail.com> wrote:
>
> I am trying to setup a simple project where spans of text can be annotated on an HTML document, using the HTML editor, with relation arcs then drawn between the spans.
>
> To do this, I setup a "Basic annotation (span/relation)" project and then imported a set of simple HTML documents, with the most simple being just a sentence within a pair of paragraph tags.
>
> When using the HTML editor, I can create the spans, but no label appears atop them (as in BRAT) which allows me to create a relation by dragging between spans. When I switch to BRAT, I can create spans as expected, although they do not show on the main annotation pain (but are list in the left hand panel) when I switch back to the HTML annotator.

Depending on the INCEpTION version you are using, there is a switch at the top of the editor to show the labels in-line. None of the current HTML-oriented editors currently display the annotations above the text (inter-linear).

> Are relations supported in the HTML annotator, and if so, how should I configure the project / annotation interface to enable them?

The RecogitoJS HTML editor supports relations. You can enable it by adding the following to your `settings.properties` file:

```
ui.html-recogitojs.enabled=true
```

You need to explicitly switch to this editor via the settings dialog on the annotation page or by setting it as the default editor in the project settings.

Cheers,

-- Richard

Craig Thomson

unread,
Nov 4, 2023, 7:31:28 AM11/4/23
to incepti...@googlegroups.com
Hi Richard,

Many thanks for your reply.

I am using Inception 29.5 (2023-10-10 19:32:34, build 6cad8d1e)

The RecogitoJS interface looks like exactly what I am looking for!

Thanks again,

Craig

--
You received this message because you are subscribed to the Google Groups "inception-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inception-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inception-users/DAC881D2-4E4A-4C89-8E74-FF60E9551AA1%40gmail.com.
Reply all
Reply to author
Forward
0 new messages